diff mbox

[amirv] IB/ipoib: Add cleanup to sendonly multicast objects [ib-next: handle_neigh_state_change() can be static

Message ID 20150414115253.GA83499@lkp-sb04 (mailing list archive)
State Rejected
Headers show

Commit Message

Fengguang Wu April 14, 2015, 11:52 a.m. UTC
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 ipoib_multicast.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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;