diff options
| author | Colin Ian King <[email protected]> | 2022-06-28 14:54:06 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-06-30 03:42:42 +0000 |
| commit | 74fd304f2395e574a21cd06912f860771c82ee88 (patch) | |
| tree | 6fa9bfd8b41108df27bf47716dde181cb7550767 /drivers/net/ethernet/intel/igc/igc_main.c | |
| parent | net: switchdev: add reminder near struct switchdev_notifier_fdb_info (diff) | |
| download | kernel-74fd304f2395e574a21cd06912f860771c82ee88.tar.gz kernel-74fd304f2395e574a21cd06912f860771c82ee88.zip | |
ipv6: remove redundant store to value after addition
There is no need to store the result of the addition back to variable count
after the addition. The store is redundant, replace += with just +
Cleans up clang scan build warning:
warning: Although the value stored to 'count' is used in the enclosing
expression, the value is never actually read from 'count'
Signed-off-by: Colin Ian King <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions
