summaryrefslogtreecommitdiff
path: root/include/linux/compiler.h
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2020-02-15 14:52:05 +0100
committerDavid S. Miller <davem@davemloft.net>2020-02-16 19:36:06 -0800
commitf1f9ca2875692e3c07ae01663d6adaf4a6029bc0 (patch)
treed7896b28f61543de24a18e7e6a5d6b0bd3403d09 /include/linux/compiler.h
parent711463f8342769c4cad7c3b54a6cfc2b006c1e42 (diff)
r8169: improve rtl8169_get_mac_version
Currently code snippet (RTL_R32(tp, TxConfig) >> 20) & 0xfcf is used in few places to extract the chip XID. Change the code to do the XID extraction only once. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/compiler.h')
0 files changed, 0 insertions, 0 deletions