aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorJacob Keller <[email protected]>2019-07-08 16:12:31 -0700
committerJeff Kirsher <[email protected]>2019-08-04 04:31:03 -0700
commitcb1b5226cbdf0bc01dcdd8d422d4051fec1b77ef (patch)
tree857f516a858f4ea95248160487c7f8c7607a5784 /tools/perf/scripts/python/syscall-counts.py
parent4d12002fd29ad8d8c3da0232153217bee4f10326 (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/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions