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)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 12 Aug 2015 14:33:23 +0000 (16:33 +0200)
commita2edd216acb433c6c0ed03d3f5b7f6f5fa2f063a
tree2a06fa3864feb9c248de68a5f33c3571c639247b
parentba2bab3a5a790c67fc8afef5cee61dd7348615aa
niu: don't count tx error twice in case of headroom realloc fails

commit 42288830494cd51873ca745a7a229023df061226 upstream.

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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/net/ethernet/sun/niu.c