diff options
| author | Jacob Keller <jacob.e.keller@intel.com> | 2019-07-08 16:12:29 -0700 |
|---|---|---|
| committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-08-04 04:20:42 -0700 |
| commit | d9ecd1f748f2ddb7cc15d56acadbc90b3ce235a9 (patch) | |
| tree | bffb0bede921353c7c365aa919c978710efb07aa /tools/perf/scripts/python/bin | |
| parent | Merge branch 'net-l3-l4-functional-tests' (diff) | |
| download | linux-d9ecd1f748f2ddb7cc15d56acadbc90b3ce235a9.tar.gz linux-d9ecd1f748f2ddb7cc15d56acadbc90b3ce235a9.zip | |
fm10k: remove unnecessary variable initializer
The err variable in the fm10k_tlv_attr_parse function is initialized
with zero. However, the function never reads err without first assigning
it from a function call. Remove this unnecessary initialization.
This was detected by cppcheck and resolves the following warning
produced by that tool:
[fm10k_tlv.c:498]: (style) Variable 'err' 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 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
