net: hns3: remove an unnecessary case 0 in hclge_fd_convert_tuple()
Since case default has included case 0, so removes this redundant case 0. Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
fa663c0960
commit
e9368c4094
|
@ -5006,8 +5006,6 @@ static bool hclge_fd_convert_tuple(u32 tuple_bit, u8 *key_x, u8 *key_y,
|
|||
return true;
|
||||
|
||||
switch (tuple_bit) {
|
||||
case 0:
|
||||
return false;
|
||||
case BIT(INNER_DST_MAC):
|
||||
for (i = 0; i < ETH_ALEN; i++) {
|
||||
calc_x(key_x[ETH_ALEN - 1 - i], rule->tuples.dst_mac[i],
|
||||
|
|
Loading…
Reference in New Issue