[Intel-wired-lan] [RFC PATCH jkirsher-next-queue] i40iw/i40e: i40iw_open_inc_ref() can be static
kbuild test robot
fengguang.wu at intel.com
Mon May 21 19:51:00 UTC 2018
Fixes: 34a1361d548d ("i40iw/i40e: Remove link dependency on i40e")
Signed-off-by: kbuild test robot <fengguang.wu at intel.com>
---
i40iw_main.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/infiniband/hw/i40iw/i40iw_main.c b/drivers/infiniband/hw/i40iw/i40iw_main.c
index 65e1269..f4c5be1 100644
--- a/drivers/infiniband/hw/i40iw/i40iw_main.c
+++ b/drivers/infiniband/hw/i40iw/i40iw_main.c
@@ -107,7 +107,7 @@ static struct notifier_block i40iw_netdevice_notifier = {
/**
* i40iw_open_inc_ref - Increment ref count for a open
*/
-void i40iw_open_inc_ref(void)
+static void i40iw_open_inc_ref(void)
{
atomic_inc(&peer_drv.peer.ref_count);
}
@@ -115,7 +115,7 @@ void i40iw_open_inc_ref(void)
/**
* i40iw_open_dec_ref - Decrement ref count for a open
*/
-void i40iw_open_dec_ref(void)
+static void i40iw_open_dec_ref(void)
{
struct i40iw_peer *peer;
More information about the Intel-wired-lan
mailing list