commit | 8e03f26b716f87c3bd1da212ec0fb3869ea47e64 | [log] [tgz] |
---|---|---|
author | Jacob Keller <jacob.e.keller@intel.com> | Mon Jul 08 16:12:27 2019 -0700 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Thu Aug 01 14:59:21 2019 -0700 |
tree | 35d54cbb1e313744c7c0145f7c82b51d76ce388c | |
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>