net: hns3: delete some reduandant code
authorGuojia Liao <liaoguojia@huawei.com>
Sat, 7 Mar 2020 03:42:45 +0000 (11:42 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Mar 2020 02:36:13 +0000 (19:36 -0700)
commit01c45c521a5aa2e3a077b27d090f05a20012dd65
tree7da17e7a6c030d1064487a4ada4a69222e6c29ad
parent89a85559302f473d2c7f22c774b31f979a0e62dc
net: hns3: delete some reduandant code

In hclge_add_mc_addr_common() and hclge_rm_mc_addr_common(),
variable req had been set as "0" by memset(), so it's unnecessary
to set .entry_type field as "0" with hnae3_set_bit() again.

Signed-off-by: Guojia Liao <liaoguojia@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c