net: hns3: code optimization for command queue' spin lock
authorPeng Li <lipeng321@huawei.com>
Sun, 14 Apr 2019 01:47:46 +0000 (09:47 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 14 Apr 2019 20:47:35 +0000 (13:47 -0700)
commit6814b5900b83de632d6709e21f906391496f5fc5
tree8a9d145f8f6b0c9bb524dda1ea48c30ae650dae9
parentcc5ff6e90f808f9a4c8229bf2f1de0dfe5d7931c
net: hns3: code optimization for command queue' spin lock

This patch removes some redundant BH disable when initializing
and uninitializing command queue.

Signed-off-by: Peng Li <lipeng321@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_cmd.c
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c