]> git.baikalelectronics.ru Git - kernel.git/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)
commit3d67d280e2fa0b44c2be308fc41c25310581cd6e
tree8956b2dd8ecab1082206d8d71d2c06143ded10d6
parent6542d40663050849964da36088f1299f18334c87
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