netpoll: check netpoll tx status on the right device
authorAmerigo Wang <amwang@redhat.com>
Fri, 10 Aug 2012 01:24:45 +0000 (01:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Aug 2012 21:33:32 +0000 (14:33 -0700)
commite15c3c2294605f09f9b336b2f3b97086ab4b8145
tree913bd57b5fa899687c779530d0576a3ca8100732
parent4e3828c4bfd90b00a951cad7c8da27d1966beefe
netpoll: check netpoll tx status on the right device

Although this doesn't matter actually, because netpoll_tx_running()
doesn't use the parameter, the code will be more readable.

For team_dev_queue_xmit() we have to move it down to avoid
compile errors.

Cc: David Miller <davem@davemloft.net>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c
include/linux/if_team.h
net/bridge/br_forward.c