lkml.org 
[lkml]   [2015]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH amirv] IB/ipoib: Add cleanup to sendonly multicast objects [ib-next: handle_neigh_state_change() can be static

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
ipoib_multicast.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/infiniband/ulp/ipoib/ipoib_multicast.c b/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
index 856ed6e..f5c5f14 100644
--- a/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
+++ b/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
@@ -732,7 +732,7 @@ out:
}

/* get notification from the neigh that connected to mcast on its state */
-int handle_neigh_state_change(struct ipoib_dev_priv *priv,
+static int handle_neigh_state_change(struct ipoib_dev_priv *priv,
enum ipoib_neigh_state state, void *context)
{
struct ipoib_mcast *mcast = context;

\
 
 \ /
  Last update: 2015-04-14 14:21    [W:0.035 / U:6.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site