summaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-12-01 14:16:04 -0500
committerDavid S. Miller <davem@davemloft.net>2011-12-01 14:16:04 -0500
commit65698610f58153eb7621be3fb4f57ca318b19c60 (patch)
tree0a75e810c5b2572a82d9b7c6ce5e68d3629431c9 /include/linux/netdevice.h
parent84f9307c5da84a7c8513e7607dc8427d2cbd63e3 (diff)
net: Make ndo_neigh_destroy return void.
The return value isn't used. Suggested by Ben Hucthings. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r--include/linux/netdevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 1c4ddb37f2b..21440e31fda 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -975,7 +975,7 @@ struct net_device_ops {
int (*ndo_set_features)(struct net_device *dev,
netdev_features_t features);
int (*ndo_neigh_construct)(struct neighbour *n);
- int (*ndo_neigh_destroy)(struct neighbour *n);
+ void (*ndo_neigh_destroy)(struct neighbour *n);
};
/*