net: hns3: make hclgevf_cmd_caps_bit_map0 and hclge_cmd_caps_bit_map0 static
authorchongjiapeng <jiapeng.chong@linux.alibaba.com>
Mon, 6 Sep 2021 09:51:59 +0000 (17:51 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Sep 2021 12:13:40 +0000 (13:13 +0100)
commit0c0383918a3ec4250e318cdbdd32e1caef12c14c
tree9ac1b2cd4be941b879521a35d9a5cbeeff42e812
parentb109398a2206bf4bd3f6cb4fe678735387574d79
net: hns3: make hclgevf_cmd_caps_bit_map0 and hclge_cmd_caps_bit_map0 static

This symbols is not used outside of hclge_cmd.c and hclgevf_cmd.c, so marks
it static.

Fix the following sparse warning:

drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c:345:35:
warning: symbol 'hclgevf_cmd_caps_bit_map0' was not declared. Should it
be static?

drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c:365:33: warning:
symbol 'hclge_cmd_caps_bit_map0' was not declared. Should it be static?

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: chongjiapeng <jiapeng.chong@linux.alibaba.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