bnx2x: Convert return 0 to return rc
authorJoe Perches <joe@perches.com>
Fri, 16 May 2014 06:51:43 +0000 (23:51 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 May 2014 00:51:03 +0000 (20:51 -0400)
commit02948344fbf511c6eec28687dc76bb64b758ff93
tree0a655453ab233ef20d2e455ea07bc367e68de051
parenta8d0d8417c0bdc870d28afb83bc12e61a818efa3
bnx2x: Convert return 0 to return rc

These "return 0;" uses seem wrong as there are
rc variables where error return values are set
but unused.

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Dmitry Kravkov <Dmitry.Kravkov@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c