commit | a5c0d861280dc7d596d875213e691a046b430597 | [log] [tgz] |
---|---|---|
author | Jacob Keller <jacob.e.keller@intel.com> | Mon Jul 08 16:12:19 2019 -0700 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Thu Aug 01 14:01:18 2019 -0700 |
tree | 1961bd099fd6dd7f09e0978656519e9e92fca50e | |
parent | 30b1b498d7568ea8db387308087d30292fb32b8b [diff] |
fm10k: reduce scope of *p local variable Reduce the scope of the char *p local variable to only the block where it is used. This was detected by cppcheck and resolves the following style warning produced by that tool: [fm10k_ethtool.c:229]: (style) The scope of the variable 'p' 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>