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)
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