]> git.baikalelectronics.ru Git - kernel.git/commit
ice: remove unnecessary expression that is always true
authorBruce Allan <bruce.w.allan@intel.com>
Fri, 8 May 2020 00:41:10 +0000 (17:41 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 22 May 2020 05:10:04 +0000 (22:10 -0700)
commitb84d2beb825207329c80103f0903e0beac72008a
tree9b22ace3a87f51a463d3ae623aae8853c74a8a0a
parentb6c39e2e725ffefb8f91d792cc39d6e80d7adbaa
ice: remove unnecessary expression that is always true

The else conditional expression is always true due to the if conditional
expression; remove it and add a comment to make it obvious still.

Signed-off-by: Bruce Allan <bruce.w.allan@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_main.c