diff options
-rw-r--r-- | drivers/infiniband/ulp/ipoib/ipoib_multicast.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_multicast.c b/drivers/infiniband/ulp/ipoib/ipoib_multicast.c index fde442a1996d..93c462eaf4fd 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib_multicast.c +++ b/drivers/infiniband/ulp/ipoib/ipoib_multicast.c | |||
@@ -115,7 +115,6 @@ static void ipoib_mcast_free(struct ipoib_mcast *mcast) | |||
115 | if (neigh->ah) | 115 | if (neigh->ah) |
116 | ipoib_put_ah(neigh->ah); | 116 | ipoib_put_ah(neigh->ah); |
117 | *to_ipoib_neigh(neigh->neighbour) = NULL; | 117 | *to_ipoib_neigh(neigh->neighbour) = NULL; |
118 | neigh->neighbour->ops->destructor = NULL; | ||
119 | kfree(neigh); | 118 | kfree(neigh); |
120 | } | 119 | } |
121 | 120 | ||