linux_dsm_epyc7002/drivers/net/ethernet/hisilicon/hns3
YueHaibing 2307f4a517 net: hns3: Fix -Wunused-const-variable warning
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h:542:30:
 warning: meta_data_key_info defined but not used [-Wunused-const-variable=]
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h:553:30:
 warning: tuple_key_info defined but not used [-Wunused-const-variable=]

The two variable is only used in hclge_main.c,
so just move the definition over there.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-08-24 16:24:05 -07:00
..
hns3pf net: hns3: Fix -Wunused-const-variable warning 2019-08-24 16:24:05 -07:00
hns3vf net: hns3: modify redundant initialization of variable 2019-08-18 12:59:12 -07:00
hclge_mbx.h net: hns3: add handler for NCSI error mailbox 2019-08-01 13:32:12 -04:00
hnae3.c net: hns3: fix error and incorrect format 2019-08-18 12:59:12 -07:00
hnae3.h net: hns3: add or modify comments 2019-08-18 12:59:12 -07:00
hns3_dcbnl.c net: hns3: fix some coding style issues 2019-06-09 13:20:59 -07:00
hns3_debugfs.c hns3: no need to check return value of debugfs_create functions 2019-08-10 15:25:48 -07:00
hns3_enet.c net: hns3: add or modify comments 2019-08-18 12:59:12 -07:00
hns3_enet.h net: hns3: add or modify comments 2019-08-18 12:59:12 -07:00
hns3_ethtool.c net: hns3: fix error and incorrect format 2019-08-18 12:59:12 -07:00
Makefile net: hns3: Add debugfs framework registration 2018-11-23 17:28:59 -08:00