summaryrefslogtreecommitdiff
path: root/include/soc/mscc/ocelot.h
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2021-11-25 14:58:07 +0200
committerJakub Kicinski <kuba@kernel.org>2021-11-25 19:32:07 -0800
commita8bd9fa5b5272d8cac189b2bd5c64588431ee06a (patch)
tree44f85efec242cb42076cf3f434486a3eb4b1d64c /include/soc/mscc/ocelot.h
parent4636440f913b2bd5051fae6006dd6f6c2456eb3b (diff)
net: ocelot: remove "bridge" argument from ocelot_get_bridge_fwd_mask
The only called takes ocelot_port->bridge and passes it as the "bridge" argument to this function, which then compares it with ocelot_port->bridge. This is not useful. Instead, we would like this function to return 0 if ocelot_port->bridge is not present, which is what this patch does. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Link: https://lore.kernel.org/r/20211125125808.2383984-1-vladimir.oltean@nxp.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/soc/mscc/ocelot.h')
0 files changed, 0 insertions, 0 deletions