sfc: Remove some unreachable error paths
authorBen Hutchings <bhutchings@solarflare.com>
Mon, 1 Sep 2008 11:48:46 +0000 (12:48 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 3 Sep 2008 13:53:48 +0000 (09:53 -0400)
commitbc3c90a2b70652b87cde8de65275d6f41d0f24c3
tree3d9a7eebad85bc86f5a3fbd4fdf4cc2b7be950a4
parentc1e5fcc980b7b2185b29e4f9f0d8266806ada9eb
sfc: Remove some unreachable error paths

Some functions return an error code which is always 0.  Change their
return types to void and simplify their callers accordingly.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/sfc/efx.c
drivers/net/sfc/efx.h
drivers/net/sfc/ethtool.c
drivers/net/sfc/falcon.c
drivers/net/sfc/falcon.h
drivers/net/sfc/rx.c
drivers/net/sfc/rx.h
drivers/net/sfc/tx.c
drivers/net/sfc/tx.h