diff options
| author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2017-10-23 21:17:31 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-10-26 11:05:04 +0300 |
| commit | eaac97466ee4e0ab6ed67afbf9fc400862e64986 (patch) | |
| tree | f2e7f6bb100b80fe2784825f7d50cc1955e86fd1 /include/linux/start_kernel.h | |
| parent | 8e8ef50bb4246d6fee9971994a6d846d9bc7ff4c (diff) | |
| download | linux-eaac97466ee4e0ab6ed67afbf9fc400862e64986.tar.xz | |
net: dsa: don't unmask port bitmaps
The unapply functions are called on the error path.
As for dsa_port_mask, enabled_port_mask and cpu_port_mask won't be used
after so there's no need to unmask the corresponding port bit from them.
This makes dsa_cpu_port_unapply() and dsa_dsa_port_unapply() identical,
which can be factorized later.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/start_kernel.h')
0 files changed, 0 insertions, 0 deletions
