net/ice/base: remove unnecessary conditional check
authorQi Zhang <qi.z.zhang@intel.com>
Thu, 29 Aug 2019 02:36:40 +0000 (10:36 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:53 +0000 (15:00 +0200)
commitb32be950a378e72dbd543404ba780332973c92c2
tree89e4c4db2eafba376e89ab8f3e9491470899841c
parent2aaf1d1b67bd6c1866652b340f2645edd7e84572
net/ice/base: remove unnecessary conditional check

There is no reason to do this conditional check before the assignment so
simply remove it.

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