diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2019-07-08 16:12:27 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-08-01 14:59:21 -0700 |
commit | 8e03f26b716f87c3bd1da212ec0fb3869ea47e64 (patch) | |
tree | 35d54cbb1e313744c7c0145f7c82b51d76ce388c /Documentation/kbuild | |
parent | 71974d7e8556860c5ebe9bb37d598975f1e0c4e3 (diff) |
fm10k: reduce the scope of the result local variable
Reduce the scope of the result local variable in the
fm10k_iov_msg_lport_state_pf function.
This was detected by cppcheck and resolves the following warning
produced by that tool:
[fm10k_pf.c:1435]: (style) The scope of the variable 'result' can be
reduced.
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 'Documentation/kbuild')
0 files changed, 0 insertions, 0 deletions