OSDN Git Service

net: hns3: remove two unused macros in hclgevf_cmd.c
authorHuazhong Tan <tanhuazhong@huawei.com>
Sat, 30 May 2020 01:08:29 +0000 (09:08 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 31 May 2020 00:41:22 +0000 (17:41 -0700)
commitfc68aed15648c70db0377a6abd2b34ec328dd12a
treea700cbbebda365a40469aa72bda6792842da259d
parentd62805087e7fbbd7582403b972dd75581256e585
net: hns3: remove two unused macros in hclgevf_cmd.c

Macro hclgevf_ring_to_dma_dir and hclgevf_is_csq defined in
hclgevf_cmd.c, but not used, so remove them.

Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c