net/ice/base: remove unnecessary if branch
authorQi Zhang <qi.z.zhang@intel.com>
Thu, 29 Aug 2019 02:36:46 +0000 (10:36 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:53 +0000 (15:00 +0200)
commite123d30f4a580e710d870ea2e28183fb3d2cc28f
tree8dea6d14a85611469695b74cc3fa17568f902542
parentdbe449e5dcfc4beee00b4986335007d10b872000
net/ice/base: remove unnecessary if branch

We are already in the branch "if (fm_list->vsi_count == 1)"
no need to exit and re-enter.

Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>
drivers/net/ice/base/ice_switch.c