]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: improve rtl_remove_one
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 25 May 2020 19:54:00 +0000 (21:54 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 May 2020 03:27:18 +0000 (20:27 -0700)
commitf1bef3d409068550e4dc54fceb40aa13bffd0a60
treeb0cd83111a1acef70c348e35ba3c68335819dbf4
parent003994e271c4b3a8502b470fbe640ad31464947d
r8169: improve rtl_remove_one

Don't call netif_napi_del() manually, free_netdev() does this for us.
In addition reorder calls to match reverse order of calls in probe().

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169_main.c