Skip to content

Commit

Permalink
net: Make ndo_neigh_destroy return void.
Browse files Browse the repository at this point in the history
The return value isn't used.

Suggested by Ben Hucthings.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Dec 1, 2011
1 parent 84f9307 commit 6569861
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/netdevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};

/*
Expand Down

0 comments on commit 6569861

Please sign in to comment.