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>
Showing
- drivers/net/sfc/efx.c 18 additions, 58 deletionsdrivers/net/sfc/efx.c
- drivers/net/sfc/efx.h 1 addition, 1 deletiondrivers/net/sfc/efx.h
- drivers/net/sfc/ethtool.c 4 additions, 4 deletionsdrivers/net/sfc/ethtool.c
- drivers/net/sfc/falcon.c 7 additions, 23 deletionsdrivers/net/sfc/falcon.c
- drivers/net/sfc/falcon.h 3 additions, 3 deletionsdrivers/net/sfc/falcon.h
- drivers/net/sfc/rx.c 2 additions, 2 deletionsdrivers/net/sfc/rx.c
- drivers/net/sfc/rx.h 1 addition, 1 deletiondrivers/net/sfc/rx.h
- drivers/net/sfc/tx.c 2 additions, 2 deletionsdrivers/net/sfc/tx.c
- drivers/net/sfc/tx.h 1 addition, 1 deletiondrivers/net/sfc/tx.h
Loading
Please register or sign in to comment