]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Do not unnecessarily initialize local variable
authorBruce Allan <bruce.w.allan@intel.com>
Tue, 16 Apr 2019 17:21:18 +0000 (10:21 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 4 May 2019 21:21:01 +0000 (14:21 -0700)
commit28c1ff5140a7f4f6f37e6b4bb5138a8277ac6be6
tree2090bf848759e2f35190d58a9dd1b7a36ad589e7
parent50bdc78bc1e73d9eb4bd18db6d2f3e3b126cca83
ice: Do not unnecessarily initialize local variable

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@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_common.c