r8169: improve rtl_set_rx_mode
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 24 Jul 2019 21:34:45 +0000 (23:34 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Jul 2019 22:40:51 +0000 (15:40 -0700)
commit81cd17a4121d7dc7cad28e51251f31ff12b1de2b
tree4cef5f931fa0be65b30c108729776845ff67ff5f
parentce599b1a129c3eacbaba9bebfe0bfc79b629085c
r8169: improve rtl_set_rx_mode

This patch improves and simplifies rtl_set_rx_mode a little.
No functional change intended.

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