aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorMarkus Elfring <[email protected]>2015-06-28 16:42:04 +0200
committerBjorn Helgaas <[email protected]>2015-07-14 14:59:52 -0500
commit93972d18bbaba6f34e21742400b6e7461edc4837 (patch)
tree6c7b4216e551976034ea01e5300a4d4d14be51bd /scripts/gdb/linux/modules.py
parentbc0195aad0daa2ad5b0d76cce22b167bc3435590 (diff)
PCI: iproc: Delete unnecessary checks before phy calls
The functions phy_exit() and phy_power_off() test whether their argument is NULL and then return immediately. Thus the test around the calls is not needed. This issue was detected by using the Coccinelle software. [bhelgaas: also phy_init() and phy_power_on(), as Ray Jui suggested] [bhelgaas: also remove tests in iproc_pcie_remove()] Signed-off-by: Markus Elfring <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Ray Jui <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions