commit | 495083807f2007af7a29ea72768866f747021a98 | [log] [tgz] |
---|---|---|
author | Antoine Tenart <antoine.tenart@bootlin.com> | Fri Jul 13 16:57:57 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 16 13:43:31 2018 -0700 |
tree | 856391730331c2b3ec2a1628abe2500d6819c9a0 | |
parent | bc1b50309ce19bb2ccb1340fa83ab56ca6da8f96 [diff] |
net: mscc: simplify retrieving the tag type from the frame header The tag type in the frame extraction header is only a bit wide. There's no need to use GENMASK when retrieving the information. This patch simplify the code by dropping GENMASK and using BIT instead. Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com> Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: David S. Miller <davem@davemloft.net>