diff mbox series

[RFC,jkirsher-next-queue] i40iw/i40e: i40iw_open_inc_ref() can be static

Message ID 20180521195100.GA37206@lkp-sb05
State RFC
Delegated to: Jeff Kirsher
Headers show
Series [RFC,jkirsher-next-queue] i40iw/i40e: i40iw_open_inc_ref() can be static | expand

Commit Message

kbuild test robot May 21, 2018, 7:51 p.m. UTC
Fixes: 34a1361d548d ("i40iw/i40e: Remove link dependency on i40e")
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
---
 i40iw_main.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Devale, Sindhu May 21, 2018, 11:51 p.m. UTC | #1
ACK.

Thank you,
Sindhu





Fixes: 34a1361d548d ("i40iw/i40e: Remove link dependency on i40e")
Signed-off-by: kbuild test robot <fengguang.wu@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;
diff mbox series

Patch

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;