net/ice/base: remove unnecessary conditional
authorQi Zhang <qi.z.zhang@intel.com>
Mon, 7 Sep 2020 11:06:51 +0000 (19:06 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:10 +0000 (18:55 +0200)
commit374c4bcaa0a9eeb4f9751117d6a1d91e79401baf
tree973e40f2c168729c8155ff0c53794d9a54820de2
parent3fbba579a2b9ee43e6692ea372da3a7848b174ab
net/ice/base: remove unnecessary conditional

These two conditional statements are unnecessary because the condition
is always true based on existing code flow.  Remove them to resolve
potential errors from some static analysis tools.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
drivers/net/ice/base/ice_flow.c