diff options
| author | Michael Grzeschik <[email protected]> | 2020-12-01 21:45:02 +0100 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2020-12-02 17:16:29 -0800 |
| commit | 557d1a1fbad3023b31ea26eedddd7480350b8359 (patch) | |
| tree | 2b0eace81bfbc7d8f0dd5aeb3c954101f3bbd6ec /scripts/gcc-plugins/gcc-common.h | |
| parent | 4ce2a984abd86b002c22b9b84842e32e973a5fec (diff) | |
net: dsa: microchip: remove superfluous num_ports assignment
The variable num_ports is already assigned in the init function. The
drivers individual init function already handles the different purpose
of port_cnt vs port_cnt + 1. This patch removes the extra assignment of
the variable.
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: Michael Grzeschik <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions