Home
last modified time | relevance | path

Searched hist:a5c0d861280dc7d596d875213e691a046b430597 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_ethtool.cdiff a5c0d861280dc7d596d875213e691a046b430597 Mon Jul 08 18:12:19 CDT 2019 Jacob Keller <jacob.e.keller@intel.com> 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>