Commit 0800d88
net: sun: use pci_status_get_and_clear_errors
Use new helper pci_status_get_and_clear_errors() to simplify the code.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 2864a88 commit 0800d88
2 files changed
+19
-39
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1716 | 1716 | | |
1717 | 1717 | | |
1718 | 1718 | | |
1719 | | - | |
| 1719 | + | |
1720 | 1720 | | |
1721 | 1721 | | |
1722 | 1722 | | |
1723 | 1723 | | |
1724 | | - | |
1725 | | - | |
1726 | | - | |
| 1724 | + | |
| 1725 | + | |
| 1726 | + | |
| 1727 | + | |
1727 | 1728 | | |
1728 | | - | |
| 1729 | + | |
1729 | 1730 | | |
1730 | | - | |
| 1731 | + | |
1731 | 1732 | | |
1732 | | - | |
| 1733 | + | |
1733 | 1734 | | |
1734 | | - | |
| 1735 | + | |
1735 | 1736 | | |
1736 | | - | |
| 1737 | + | |
1737 | 1738 | | |
1738 | | - | |
1739 | | - | |
1740 | | - | |
1741 | | - | |
1742 | | - | |
1743 | | - | |
1744 | | - | |
1745 | | - | |
1746 | | - | |
1747 | 1739 | | |
1748 | 1740 | | |
1749 | 1741 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
545 | 545 | | |
546 | 546 | | |
547 | 547 | | |
548 | | - | |
| 548 | + | |
549 | 549 | | |
550 | 550 | | |
551 | 551 | | |
552 | 552 | | |
553 | | - | |
554 | | - | |
555 | | - | |
556 | | - | |
557 | | - | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
558 | 556 | | |
559 | | - | |
| 557 | + | |
560 | 558 | | |
561 | | - | |
| 559 | + | |
562 | 560 | | |
563 | | - | |
| 561 | + | |
564 | 562 | | |
565 | | - | |
| 563 | + | |
566 | 564 | | |
567 | | - | |
| 565 | + | |
568 | 566 | | |
569 | | - | |
570 | | - | |
571 | | - | |
572 | | - | |
573 | | - | |
574 | | - | |
575 | | - | |
576 | | - | |
577 | | - | |
578 | | - | |
579 | 567 | | |
580 | 568 | | |
581 | 569 | | |
| |||
0 commit comments