diff options
author | Wan Jiabing <wanjiabing@vivo.com> | 2021-10-11 10:27:41 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-12 11:21:55 +0100 |
commit | 74a3bc42fe514098030a78c1ad5e6024463dd378 (patch) | |
tree | 1b2c9f5b7431555480e417bfc1f31aacc32bb964 /drivers/net/dsa/mv88e6xxx/chip.c | |
parent | 0edf0824e0dc359ed76bf96af986e6570ca2c0b9 (diff) |
net: mscc: ocelot: Fix dumplicated argument in ocelot
Fix the following coccicheck warning:
drivers/net/ethernet/mscc/ocelot.c:474:duplicated argument to & or |
drivers/net/ethernet/mscc/ocelot.c:476:duplicated argument to & or |
drivers/net/ethernet/mscc/ocelot_net.c:1627:duplicated argument
to & or |
These DEV_CLOCK_CFG_MAC_TX_RST are duplicate here.
Here should be DEV_CLOCK_CFG_MAC_RX_RST.
Fixes: e6e12df625f2 ("net: mscc: ocelot: convert to phylink")
Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/mv88e6xxx/chip.c')
0 files changed, 0 insertions, 0 deletions