[Intel-wired-lan] [PATCH S18 05/15] ice: Do not unnecessarily initialize local variable
Bowers, AndrewX
andrewx.bowers at intel.com
Fri Apr 26 20:34:24 UTC 2019
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Anirudh Venkataramanan
> Sent: Tuesday, April 16, 2019 10:21 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S18 05/15] ice: Do not unnecessarily
> initialize local variable
>
> From: Bruce Allan <bruce.w.allan at intel.com>
>
> The local variable speed does not need to be initialized and can cause some
> static analysis tools to complain the initial assigned value is never used.
>
> Signed-off-by: Bruce Allan <bruce.w.allan at intel.com>
> Signed-off-by: Anirudh Venkataramanan
> <anirudh.venkataramanan at intel.com>
> ---
> [Anirudh Venkataramanan <anirudh.venkataramanan at intel.com> cleaned
> up commit message]
> ---
> drivers/net/ethernet/intel/ice/ice_common.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
More information about the Intel-wired-lan
mailing list