net: hns3: remove some redundant assignments
authorHuazhong Tan <tanhuazhong@huawei.com>
Mon, 2 Jul 2018 07:50:20 +0000 (15:50 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Jul 2018 13:49:14 +0000 (22:49 +0900)
commit043fa454f43dcd70e9821f392968970ce9dab7f8
tree7325658e70da26d2084ebca5120f862266496fbc
parenteb55323c564dc793a21fe71eec782ffb5b4776da
net: hns3: remove some redundant assignments

Remove some redundant assignments.
desc->flag = cpu_to_le16(HCLGE_CMD_FLAG_NO_INTR | HCLGE_CMD_FLAG_IN)
has set bit HCLGE_CMD_FLAG_WR to zero, so does others.

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