summaryrefslogtreecommitdiffstats
path: root/include/linux/stackprotector.h
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2019-07-08 16:12:31 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-08-04 04:31:03 -0700
commitcb1b5226cbdf0bc01dcdd8d422d4051fec1b77ef (patch)
tree857f516a858f4ea95248160487c7f8c7607a5784 /include/linux/stackprotector.h
parent4d12002fd29ad8d8c3da0232153217bee4f10326 (diff)
downloadcachepc-linux-cb1b5226cbdf0bc01dcdd8d422d4051fec1b77ef.tar.gz
cachepc-linux-cb1b5226cbdf0bc01dcdd8d422d4051fec1b77ef.zip
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 <jacob.e.keller@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions