diff options
author | David S. Miller <davem@davemloft.net> | 2011-12-01 19:16:04 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-12-01 19:16:04 (GMT) |
commit | 65698610f58153eb7621be3fb4f57ca318b19c60 (patch) | |
tree | 0a75e810c5b2572a82d9b7c6ce5e68d3629431c9 /include | |
parent | 84f9307c5da84a7c8513e7607dc8427d2cbd63e3 (diff) | |
download | linux-fsl-qoriq-65698610f58153eb7621be3fb4f57ca318b19c60.tar.xz |
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')
-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 1c4ddb3..21440e3 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); }; /* |