projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84f9307
)
net: Make ndo_neigh_destroy return void.
author
David S. Miller
<davem@davemloft.net>
Thu, 1 Dec 2011 19:16:04 +0000
(14:16 -0500)
committer
David S. Miller
<davem@davemloft.net>
Thu, 1 Dec 2011 19:16:04 +0000
(14:16 -0500)
The return value isn't used.
Suggested by Ben Hucthings.
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/netdevice.h
b/include/linux/netdevice.h
index 1c4ddb37f2b5eaad718e7a4c3223f43a078b8a3d..21440e31fdabc70e4e28f58dded1af2d06a9c1a8 100644
(file)
--- 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);
};
/*