aboutsummaryrefslogtreecommitdiffstats
path: root/include
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
parentipv4: use a 64bit load/store in output path (diff)
downloadlinux-dev-65698610f58153eb7621be3fb4f57ca318b19c60.tar.xz
linux-dev-65698610f58153eb7621be3fb4f57ca318b19c60.zip
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.h2
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 {
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);
};
/*