net/ice/base: remove dead error condition
authorQi Zhang <qi.z.zhang@intel.com>
Tue, 8 Oct 2019 01:50:12 +0000 (09:50 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 23 Oct 2019 14:43:09 +0000 (16:43 +0200)
commit65d934d5b10470b3e0e1d19dcd02d488dd4a7cf9
tree7bbc264e153f34afc0e5eb54c7a1af25deb98373
parent34a0e7c44f2b887f69074df43a175fe290141901
net/ice/base: remove dead error condition

The pointer cmd is set to an address of a structure, which can never be
NULL.  Remove the check-for-NULL lines since it's dead code anyway.

Signed-off-by: Jeb Cramer <jeb.j.cramer@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: Qiming Yang <qiming.yang@intel.com>
drivers/net/ice/base/ice_common.c