diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2017-01-18 04:41:38 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-19 00:49:46 +0300 |
commit | b22de490869da354116ea4cbbaa09dcbc260b2b4 (patch) | |
tree | f524fe3351c33f6d18ab3c3f9c455f7e9ca8c199 /lib/crc-t10dif.c | |
parent | e33c2ef106d17ad8cdb16a0be0ef0daebb2d2c16 (diff) | |
download | linux-b22de490869da354116ea4cbbaa09dcbc260b2b4.tar.xz |
net: dsa: store CPU switch structure in the tree
Store a dsa_switch pointer to the CPU switch in the tree instead of only
its index. This avoids the need to initialize it to -1.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/crc-t10dif.c')
0 files changed, 0 insertions, 0 deletions