diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2019-07-09 02:12:31 +0300 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-08-04 14:31:03 +0300 |
commit | cb1b5226cbdf0bc01dcdd8d422d4051fec1b77ef (patch) | |
tree | 857f516a858f4ea95248160487c7f8c7607a5784 /drivers/md/md.h | |
parent | 4d12002fd29ad8d8c3da0232153217bee4f10326 (diff) | |
download | linux-cb1b5226cbdf0bc01dcdd8d422d4051fec1b77ef.tar.xz |
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 'drivers/md/md.h')
0 files changed, 0 insertions, 0 deletions