ice: Remove unnecessary node owner check
authorBruce Allan <bruce.w.allan@intel.com>
Thu, 9 Aug 2018 13:28:52 +0000 (06:28 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 23 Aug 2018 16:24:27 +0000 (09:24 -0700)
commit6efa6239e7f8777dccddcebb643e6d9a0304bf43
treecb7350facda20e73a1571f392511aa43fe3e300b
parent4381147df9098706caa5cf9fda37e53b2fe4871f
ice: Remove unnecessary node owner check

There is already a check for owner == ICE_SCHED_NODE_OWNER_LAN at the
beginning of ice_sched_update_vsi_child_nodes. Remove the additional
check to address the static analysis tool smatch issue "warn: we tested
'owner' before and it was 'false'".

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_sched.c