diff options
author | Jacob Keller <[email protected]> | 2019-07-08 16:12:31 -0700 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2019-08-04 04:31:03 -0700 |
commit | cb1b5226cbdf0bc01dcdd8d422d4051fec1b77ef (patch) | |
tree | 857f516a858f4ea95248160487c7f8c7607a5784 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 4d12002fd29ad8d8c3da0232153217bee4f10326 (diff) |
fm10k: remove needless initialization of size local variable
The local variable 'size' in fm10k_dfwd_add_station is initialized, but
is always re-assigned immediately before use. Remove this unnecessary
initialization.
This was detected by cppcheck and resolves the following warning
produced by that tool:
[fm10k_netdev.c:1466]: (style) Variable 'size' is assigned a value that is never used.
Signed-off-by: Jacob Keller <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions