bnx2x: correct memory release scheme
authorYuval Mintz <yuvalmin@broadcom.com>
Wed, 23 Jan 2013 03:21:51 +0000 (03:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Jan 2013 18:58:29 +0000 (13:58 -0500)
commit580d9d081341aad5341884f9e6b070c01512e94c
treeff67ff54a13103258774ba3d927ecf9bb2fe1f4e
parent86564c3f0fe7ff3ffe452fcc54a774eeadc1cf45
bnx2x: correct memory release scheme

Fix an incorrect SR-IOV memory release which was committed in 1ab4434.

Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h