]> git.baikalelectronics.ru Git - kernel.git/commit
greth: fall through to common return statement on error
authorSimon Horman <horms@verge.net.au>
Thu, 25 Feb 2010 13:50:19 +0000 (13:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Feb 2010 12:18:43 +0000 (04:18 -0800)
commit87d97da133222803baa6f37c6fc19ed62796c076
treee47db5b26b4514fc8048f2da94aba158787e3ebb
parent2e5fa29d9709d5f338c99367e25357097c606642
greth: fall through to common return statement on error

There doesn't seem to be any reason to explicitly return
NETDEV_TX_OK as err is set to NETDEV_TX_OK in all cases that
reach this point.

Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/greth.c