]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
mdio_bus: Remove unneeded gpiod NULL check
authorFabio Estevam <fabio.estevam@nxp.com>
Mon, 17 Jul 2017 21:09:09 +0000 (18:09 -0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Jul 2017 23:57:04 +0000 (16:57 -0700)
commit95b80bf3db03c2bf572a357cf74b9a6aefef0a4a
tree9426911744e3c88073e9191feec11e9de50a39e1
parent24251c264798ac5a72667245c2650676d7ac2108
mdio_bus: Remove unneeded gpiod NULL check

The gpiod API checks for NULL descriptors, so there is no need to
duplicate the check in the driver.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio_bus.c