IPoIB: Fix build now that neighbour destructor is in neigh_params
authorRoland Dreier <rdreier@cisco.com>
Tue, 7 Mar 2006 19:21:08 +0000 (11:21 -0800)
committerRoland Dreier <rolandd@cisco.com>
Mon, 20 Mar 2006 18:08:24 +0000 (10:08 -0800)
Fix the IPoIB build (which is broken in net-2.6.17 because of my
screw-up, which left out this chunk in ipoib_multicast.c).
The neighbour destructor is now in neigh_params, so we don't
need to clear it in the ops structure.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/ipoib/ipoib_multicast.c

index fde442a1996dfb3e490cf3d5d13c5ff844b3054d..93c462eaf4fd781c2ae93411c04c55878cc37325 100644 (file)
@@ -115,7 +115,6 @@ static void ipoib_mcast_free(struct ipoib_mcast *mcast)
                if (neigh->ah)
                        ipoib_put_ah(neigh->ah);
                *to_ipoib_neigh(neigh->neighbour) = NULL;
-               neigh->neighbour->ops->destructor = NULL;
                kfree(neigh);
        }