net/ice/base: remove dead code in capabilities parsing
authorQi Zhang <qi.z.zhang@intel.com>
Mon, 10 May 2021 03:18:35 +0000 (11:18 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Mon, 10 May 2021 05:46:09 +0000 (07:46 +0200)
commit07415c3ce610123a6c8bceaf1e6180a9dd1f3d02
treedd2634104738ee9b7c042a9cba8664403762c377
parent6793ebdb144b24a7a0117dd34039520a9bc6b9f8
net/ice/base: remove dead code in capabilities parsing

Execution cannot reach this statement: "break;".
Remove the unnecessary if branch.

Coverity issue: 370613
Fixes: 2913bc4155d2 ("net/ice/base: sign external device package programming")

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