]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: remove two duplicated register macros in hclgevf_main.h
authorHuazhong Tan <tanhuazhong@huawei.com>
Thu, 28 May 2020 13:48:17 +0000 (21:48 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 May 2020 23:39:03 +0000 (16:39 -0700)
commita9f79aba53d2db600638b0736691995c6cc7134b
tree060479d29588290637b89123a2fd1cf7e12ffa3d
parenta5323b6e65e38e3593a085b09ee91c3bcfa4f5e1
net: hns3: remove two duplicated register macros in hclgevf_main.h

HCLGEVF_CMDQ_INTR_SRC_REG and HCLGEVF_CMDQ_INTR_STS_REG are same
as HCLGEVF_VECTOR0_CMDQ_SRC_REG and HCLGEVF_VECTOR0_CMDQ_STAT_REG,
replace the former with the latter, and rename macro
HCLGEVF_VECTOR0_CMDQ_STAT_REG since 'stat' is not abbreviation of
'state'.

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