summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/dp83640_reg.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-02-07 14:15:27 +0100
committerDavid S. Miller <davem@davemloft.net>2017-02-08 19:27:06 +0100
commitff4cf0e5ce952488074aa7f47734af1794f55fbc (patch)
treea8558eaf3e54f9a65ab9f11f5755c192883a01f0 /drivers/net/phy/dp83640_reg.h
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (diff)
downloadlinux-ff4cf0e5ce952488074aa7f47734af1794f55fbc.tar.xz
linux-ff4cf0e5ce952488074aa7f47734af1794f55fbc.zip
net: dsa: bcm_sf2: cleanup bcm_sf2_cfp_rule_get() a little
This patch doesn't affect how the code works. My static checker complains that the mask and shift doesn't make sense because 0xffffff << 16 goes beyond the end of 32 bits. It should be 0xffff instead but the existing code won't cause runtime bugs. Also the casting here is not needed and not consistent with the rest of the code. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/dp83640_reg.h')
0 files changed, 0 insertions, 0 deletions