git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bad504
)
net/ice/base: remove unnecessary case branches
author
Qi Zhang
<qi.z.zhang@intel.com>
Mon, 15 Jun 2020 02:04:51 +0000
(10:04 +0800)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Tue, 16 Jun 2020 17:21:08 +0000
(19:21 +0200)
Remove unnecessary case branch, since the switch and pipeline stage is
not designed to be handled by the flow module.
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
patch
|
blob
|
history
diff --git
a/drivers/net/ice/base/ice_flow.c
b/drivers/net/ice/base/ice_flow.c
index
030a55b
..
53ff5f4
100644
(file)
--- a/
drivers/net/ice/base/ice_flow.c
+++ b/
drivers/net/ice/base/ice_flow.c
@@
-1384,7
+1384,6
@@
ice_flow_proc_segs(struct ice_hw *hw, struct ice_flow_prof_params *params)
if (status)
return status;
break;
- case ICE_BLK_SW:
default:
return ICE_ERR_NOT_IMPL;
}
@@
-2915,8
+2914,6
@@
ice_flow_add_entry(struct ice_hw *hw, enum ice_block blk, u64 prof_id,
goto out;
break;
- case ICE_BLK_SW:
- case ICE_BLK_PE:
default:
status = ICE_ERR_NOT_IMPL;
goto out;