diff options
author | kbuild test robot <fengguang.wu@intel.com> | 2018-03-22 22:31:07 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-23 18:17:46 +0100 |
commit | d5eabf0c8faf8ce8f8c5cfcba67c40592cbb498d (patch) | |
tree | 7cc841a765e7b7ebff4ace886a2f968c448cbaab /drivers | |
parent | qed: Use true and false for boolean values (diff) | |
download | linux-d5eabf0c8faf8ce8f8c5cfcba67c40592cbb498d.tar.xz linux-d5eabf0c8faf8ce8f8c5cfcba67c40592cbb498d.zip |
net: hns3: hclge_inform_reset_assert_to_vf() can be static
Fixes: 2bfbd35d8ecd ("net: hns3: Changes required in PF mailbox to support VF reset")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c index 39013334a613..a6f7ffa9c259 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c +++ b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c @@ -79,7 +79,7 @@ static int hclge_send_mbx_msg(struct hclge_vport *vport, u8 *msg, u16 msg_len, return status; } -int hclge_inform_reset_assert_to_vf(struct hclge_vport *vport) +static int hclge_inform_reset_assert_to_vf(struct hclge_vport *vport) { u8 msg_data[2]; u8 dest_vfid; |