OSDN Git Service

r8152: remove some bit operations
authorHayes Wang <hayeswang@realtek.com>
Sat, 24 Apr 2021 06:09:03 +0000 (14:09 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Apr 2021 01:21:19 +0000 (18:21 -0700)
commit9c68011bd7e477ee8d03824c8cb40eab9c64027d
tree3fe8e9bd942728b2fc3d9343cd0631fae261bf3a
parent64ff412ad41fe3a5bf759ff4844dc1382176485c
r8152: remove some bit operations

Remove DELL_TB_RX_AGG_BUG and LENOVO_MACPASSTHRU flags of rtl8152_flags.
They are only set when initializing and wouldn't be change. It is enough
to record them with variables.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c