Repository navigation
Commit d27b1cd
PCI: tegra: No need to check return value of debugfs_create() functions
When calling debugfs functions, there is no need to ever check the
return value. The function can work or not, but the code logic should
never do something different based on this.
Link: https://lore.kernel.org/r/20200818133739.463193-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Rob Herring <robh@kernel.org>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Jonathan Hunter <jonathanh@nvidia.com>
Cc: Vidya Sagar <vidyas@nvidia.com>
Cc: Andrew Murray <amurray@thegoodpenguin.co.uk>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-pci@vger.kernel.org
Cc: linux-tegra@vger.kernel.org
Cc: linux-kernel@vger.kernel.org1 parent 9123e3a commit d27b1cd
2 files changed
Lines changed: 10 additions & 35 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
699 | 699 | | |
700 | 700 | | |
701 | 701 | | |
702 | | - | |
| 702 | + | |
703 | 703 | | |
704 | | - | |
705 | | - | |
706 | | - | |
707 | | - | |
708 | | - | |
709 | | - | |
710 | | - | |
711 | | - | |
712 | | - | |
| 704 | + | |
| 705 | + | |
713 | 706 | | |
714 | 707 | | |
715 | 708 | | |
716 | 709 | | |
717 | 710 | | |
718 | | - | |
| 711 | + | |
719 | 712 | | |
720 | 713 | | |
721 | 714 | | |
| |||
1641 | 1634 | | |
1642 | 1635 | | |
1643 | 1636 | | |
1644 | | - | |
1645 | | - | |
1646 | | - | |
1647 | | - | |
| 1637 | + | |
1648 | 1638 | | |
1649 | 1639 | | |
1650 | 1640 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2601 | 2601 | | |
2602 | 2602 | | |
2603 | 2603 | | |
2604 | | - | |
| 2604 | + | |
2605 | 2605 | | |
2606 | | - | |
2607 | | - | |
2608 | 2606 | | |
2609 | | - | |
2610 | | - | |
2611 | | - | |
2612 | | - | |
2613 | | - | |
2614 | | - | |
2615 | | - | |
2616 | | - | |
2617 | | - | |
2618 | 2607 | | |
2619 | | - | |
2620 | | - | |
2621 | | - | |
| 2608 | + | |
| 2609 | + | |
2622 | 2610 | | |
2623 | 2611 | | |
2624 | 2612 | | |
| |||
2672 | 2660 | | |
2673 | 2661 | | |
2674 | 2662 | | |
2675 | | - | |
2676 | | - | |
2677 | | - | |
2678 | | - | |
2679 | | - | |
| 2663 | + | |
| 2664 | + | |
2680 | 2665 | | |
2681 | 2666 | | |
2682 | 2667 | | |
| |||
0 commit comments