]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit368be1ca28f66deba16627e2a02e78adedd023a6
tree3dbf0e1ed31fb3ba8bc46c06173793978b380a7f
parentae9a138f062ebd6b4d74a0c70d467d1785f837af
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