diff options
| author | Vladimir Oltean <[email protected]> | 2021-11-25 12:58:07 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2021-11-26 03:32:07 +0000 |
| commit | a8bd9fa5b5272d8cac189b2bd5c64588431ee06a (patch) | |
| tree | 44f85efec242cb42076cf3f434486a3eb4b1d64c /net/unix/af_unix.c | |
| parent | net: dsa: qca8k: Fix spelling mistake "Mismateched" -> "Mismatched" (diff) | |
| download | kernel-a8bd9fa5b5272d8cac189b2bd5c64588431ee06a.tar.gz kernel-a8bd9fa5b5272d8cac189b2bd5c64588431ee06a.zip | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
