]> git.itanic.dy.fi Git - linux-stable/commit
usbnet: smsc95xx: Clean up nopm handling
authorLukas Wunner <lukas@wunner.de>
Fri, 1 Jul 2022 20:47:52 +0000 (22:47 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Jul 2022 09:39:25 +0000 (10:39 +0100)
commit3147242980c5f849978b424cf79dda4fef20716f
tree8956b2dd8ecab1082206d8d71d2c06143ded10d6
parent7b960c967f2aa01ab8f45c5a0bd78e754cffdeee
usbnet: smsc95xx: Clean up nopm handling

The LAN95xx driver has just been amended to auto-detect whether the
_nopm variant of usbnet_read_cmd() / usbnet_write_cmd() shall be used.

Drop all the now unnecessary open coding of that distinction.

Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/smsc95xx.c