]> git.baikalelectronics.ru Git - kernel.git/commit
net: mii: mii_lpa_mod_linkmode_lpa_t: Make use of linkmode_mod_bit helper
authorAndrew Lunn <andrew@lunn.ch>
Wed, 5 Dec 2018 20:49:44 +0000 (21:49 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Dec 2018 00:26:16 +0000 (16:26 -0800)
commit80c9e3aae9ca2104835384a2907e5996a1fbf594
tree64f58ed614f1c578b8ffbd3577e6ca7b85d9487e
parentcf47ecb70d9e16c3d4971ec940308ffeae48d0a1
net: mii: mii_lpa_mod_linkmode_lpa_t: Make use of linkmode_mod_bit helper

Replace the if else code structure with a call to the helper
linkmode_mod_bit.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/mii.h