net: make dev_close and related functions void
authorstephen hemminger <stephen@networkplumber.org>
Tue, 18 Jul 2017 22:59:27 +0000 (15:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Jul 2017 23:45:10 +0000 (16:45 -0700)
commit7051b88a35c7dde5705923833117e14f9cc17d92
tree3736927f2f621ae83d4830280ac3a3ab93274c06
parent4a614dd3e550b66a2e57119e2d5e0fbc7f17f634
net: make dev_close and related functions void

There is no useful return value from dev_close. All paths return 0.
Change dev_close and helper functions to void.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/dev.c