aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/ice/ice_lib.c
diff options
context:
space:
mode:
authorBruce Allan <bruce.w.allan@intel.com>2019-02-28 15:25:50 -0800
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-05-02 01:03:49 -0700
commitfe7219fa7c79722d75524e5be9d569eef2ead032 (patch)
tree7b165402704da139d8242c1945d021c150c7bcfe /drivers/net/ethernet/intel/ice/ice_lib.c
parent85796d6e2fce748fbb59cf98c51b5f2e1bc409ca (diff)
ice: Resolve static analysis reported issue
Static analysis points out the default case in the switch statement in ice_get_itr_intrl_gran() is an infeasible condition causing the default case statement to be unreachable. Remove it and since the function no longer returns anything but success, change it to just return void and update the only call to it accordingly. 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>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions