niu: don't count tx error twice in case of headroom realloc fails
authorJiri Pirko <jiri@resnulli.us>
Thu, 23 Jul 2015 10:20:37 +0000 (12:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jul 2015 04:17:54 +0000 (21:17 -0700)
commit42288830494cd51873ca745a7a229023df061226
tree6a026da0990b1b60555b477e04aec6d0fa7cb634
parent64b892ad2326348a5b8314167590d240e3bcc69e
niu: don't count tx error twice in case of headroom realloc fails

Fixes: a3138df9 ("[NIU]: Add Sun Neptune ethernet driver.")
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sun/niu.c