Tag: fad06016433bb1e890ce7d170079351099518489

sata_mv: Delete unnecessary checks before the function call “phy_power_off”

Author: Markus Elfring <elfring@users.sourceforge.net> The phy_power_off() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Tejun Heo — drivers/ata/sata_mv.c | 6 ++—- 1 file changed, 2 insertions(+), 4 deletions(-)   diff …

Continue reading