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

From: kbuild test robot
Date: Tue Apr 14 2015 - 07:53:32 EST



Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
---
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;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/