diff options
author | David S. Miller <davem@davemloft.net> | 2011-12-01 14:16:04 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-12-01 14:16:04 -0500 |
commit | 65698610f58153eb7621be3fb4f57ca318b19c60 (patch) | |
tree | 0a75e810c5b2572a82d9b7c6ce5e68d3629431c9 /include/linux/netdevice.h | |
parent | 84f9307c5da84a7c8513e7607dc8427d2cbd63e3 (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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 1c4ddb37f2b5..21440e31fdab 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -975,7 +975,7 @@ struct net_device_ops { | |||
975 | int (*ndo_set_features)(struct net_device *dev, | 975 | int (*ndo_set_features)(struct net_device *dev, |
976 | netdev_features_t features); | 976 | netdev_features_t features); |
977 | int (*ndo_neigh_construct)(struct neighbour *n); | 977 | int (*ndo_neigh_construct)(struct neighbour *n); |
978 | int (*ndo_neigh_destroy)(struct neighbour *n); | 978 | void (*ndo_neigh_destroy)(struct neighbour *n); |
979 | }; | 979 | }; |
980 | 980 | ||
981 | /* | 981 | /* |