commit | 30b1b498d7568ea8db387308087d30292fb32b8b | [log] [tgz] |
---|---|---|
author | Jacob Keller <jacob.e.keller@intel.com> | Mon Jul 08 16:12:18 2019 -0700 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Thu Aug 01 13:57:33 2019 -0700 |
tree | 7ac855f31c885f62e54b9f862dc2ecfebbcfdeb9 | |
parent | a8e600e2184f45c40025cbe4d7e8893b69378a9f [diff] |
fm10k: reduce scope of the err variable Reduce the scope of the err local variable in the fm10k_dcbnl_ieee_setets function. This was detected using cppcheck, and resolves the following style warning: [fm10k_dcbnl.c:37]: (style) The scope of the variable 'err' 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>