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)
commit9aab78290a0f8b0c053b53a07925b6af7dc6ff1f
tree7c2e55de65942ab6ec194823e0bc4c5bab065f8c
parentcac960c5912a7a63cbe77032b7b1cd60c3fee0d6
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