diff options
| author | Jacob Keller <jacob.e.keller@intel.com> | 2019-07-08 16:12:19 -0700 |
|---|---|---|
| committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-08-01 14:01:18 -0700 |
| commit | a5c0d861280dc7d596d875213e691a046b430597 (patch) | |
| tree | 1961bd099fd6dd7f09e0978656519e9e92fca50e /include/linux/memory_hotplug.h | |
| parent | 30b1b498d7568ea8db387308087d30292fb32b8b (diff) | |
| download | cachepc-linux-a5c0d861280dc7d596d875213e691a046b430597.tar.gz cachepc-linux-a5c0d861280dc7d596d875213e691a046b430597.zip | |
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>
Diffstat (limited to 'include/linux/memory_hotplug.h')
0 files changed, 0 insertions, 0 deletions
