]> git.baikalelectronics.ru Git - kernel.git/commit
smsc95xx: remove redundant function arguments
authorAndre Edich <andre.edich@microchip.com>
Wed, 26 Aug 2020 11:17:15 +0000 (13:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Aug 2020 13:48:43 +0000 (06:48 -0700)
commit451fe3a03720435f5835d8d4cc029b116a77f172
tree3dbf0e1ed31fb3ba8bc46c06173793978b380a7f
parent95ac64a3856e7e9652b8a5c793d95497b9f4ecd3
smsc95xx: remove redundant function arguments

This patch removes arguments netdev and phy_id from the functions
smsc95xx_mdio_read_nopm and smsc95xx_mdio_write_nopm.  Both removed
arguments are recovered from a new argument `struct usbnet *dev`.

Signed-off-by: Andre Edich <andre.edich@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/smsc95xx.c