From: David S. Miller Date: Thu, 1 Dec 2011 19:16:04 +0000 (-0500) Subject: net: Make ndo_neigh_destroy return void. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=65698610f58153eb7621be3fb4f57ca318b19c60;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git net: Make ndo_neigh_destroy return void. The return value isn't used. Suggested by Ben Hucthings. Signed-off-by: David S. Miller --- 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); }; /*