]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: simplify setting netdev features
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 15 Feb 2020 13:49:37 +0000 (14:49 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Feb 2020 03:36:05 +0000 (19:36 -0800)
commit0faf4e9e2d093dbefd3950770e7e86f764d4735f
tree7c2e55de65942ab6ec194823e0bc4c5bab065f8c
parente80d33a032b0890f9228315d867b4ab1f85cf7fa
r8169: simplify setting netdev features

Setting dev->features a few lines later allows to simplify the code.

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