Messages in this thread | | | Date | Sat, 24 Aug 2019 16:24:21 -0700 (PDT) | Subject | Re: [PATCH net-next] net: hns3: Fix -Wunused-const-variable warning | From | David Miller <> |
| |
From: YueHaibing <yuehaibing@huawei.com> Date: Thu, 22 Aug 2019 22:49:37 +0800
> 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>
Applied, thanks.
| |