diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2017-10-23 21:17:30 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-26 11:05:04 +0300 |
commit | 8e8ef50bb4246d6fee9971994a6d846d9bc7ff4c (patch) | |
tree | 1a9fd7deded520e81ad2caa4d1f51442468906c8 /net/dsa/dsa2.c | |
parent | c3c9f441d82f0f1a1a8841201fe5ad6f9cddd040 (diff) | |
download | linux-8e8ef50bb4246d6fee9971994a6d846d9bc7ff4c.tar.xz |
net: dsa: legacy: don't unmask port bitmaps
The legacy code does not unmask the cpu_port_mask and dsa_port_mask as
stated. But this is done on the error path and those masks won't be used
after that. So instead of fixing the bit operation, simply remove it.
Fixes: 83c0afaec7b7 ("net: dsa: Add new binding implementation")
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/dsa2.c')
0 files changed, 0 insertions, 0 deletions