bridge: cleanup netpoll code
authorstephen hemminger <stephen@networkplumber.org>
Wed, 24 Jul 2013 18:51:41 +0000 (11:51 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Jul 2013 22:24:32 +0000 (15:24 -0700)
commit93d8bf9fb8f39d6d3e461db60f883d9f81006159
tree76a01206abcaa10ba5c2733257306cb85eb75e4d
parentf52809483caceaf83bd2c7915a35ace3b6e7b0ef
bridge: cleanup netpoll code

This started out with fixing a sparse warning, then I realized that
the wrapper function br_netpoll_info could just be collapsed away
by rolling it into the enable code.

Also, eliminate unnecessary goto's

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Reviewed-by: Jiri Pirko <jiri@resnulli.us>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_device.c
net/bridge/br_if.c
net/bridge/br_private.h