[INFINIBAND] ipoib: Remove leftover use of neigh_ops->destructor
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
dec73ff029
commit
e35fc38565
@ -115,7 +115,6 @@ static void ipoib_mcast_free(struct ipoib_mcast *mcast)
|
|||||||
if (neigh->ah)
|
if (neigh->ah)
|
||||||
ipoib_put_ah(neigh->ah);
|
ipoib_put_ah(neigh->ah);
|
||||||
*to_ipoib_neigh(neigh->neighbour) = NULL;
|
*to_ipoib_neigh(neigh->neighbour) = NULL;
|
||||||
neigh->neighbour->ops->destructor = NULL;
|
|
||||||
kfree(neigh);
|
kfree(neigh);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user