net/hns3: add default case to switch in Rx VLAN processing
authorChengchang Tang <tangchengchang@huawei.com>
Tue, 22 Sep 2020 12:03:15 +0000 (20:03 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 30 Sep 2020 17:19:10 +0000 (19:19 +0200)
commite788224747b3f8e7b19c028b545df0814b2b2d4a
treeac4c6891206f5a793cdc8df764a6a03604e803f7
parentc1ecff85d18baa1e43e82d8cb9aebd518f0f0c7c
net/hns3: add default case to switch in Rx VLAN processing

This patch solves the static check warning as follow:
"The switch statement must have a 'default' branch".

Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
drivers/net/hns3/hns3_rxtx.c