aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/atm/he.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/atm/he.c b/drivers/atm/he.c
index 29e66d603d3c..70667033a568 100644
--- a/drivers/atm/he.c
+++ b/drivers/atm/he.c
@@ -921,9 +921,9 @@ out_free_rbpq_base:
921 he_dev->rbrq_phys); 921 he_dev->rbrq_phys);
922 i = CONFIG_RBPL_SIZE; 922 i = CONFIG_RBPL_SIZE;
923out_free_rbpl_virt: 923out_free_rbpl_virt:
924 while (--i) 924 while (i--)
925 pci_pool_free(he_dev->rbps_pool, he_dev->rbpl_virt[i].virt, 925 pci_pool_free(he_dev->rbpl_pool, he_dev->rbpl_virt[i].virt,
926 he_dev->rbps_base[i].phys); 926 he_dev->rbpl_base[i].phys);
927 kfree(he_dev->rbpl_virt); 927 kfree(he_dev->rbpl_virt);
928 928
929out_free_rbpl_base: 929out_free_rbpl_base:
@@ -933,11 +933,11 @@ out_free_rbpl_base:
933out_destroy_rbpl_pool: 933out_destroy_rbpl_pool:
934 pci_pool_destroy(he_dev->rbpl_pool); 934 pci_pool_destroy(he_dev->rbpl_pool);
935 935
936 i = CONFIG_RBPL_SIZE; 936 i = CONFIG_RBPS_SIZE;
937out_free_rbps_virt: 937out_free_rbps_virt:
938 while (--i) 938 while (i--)
939 pci_pool_free(he_dev->rbpl_pool, he_dev->rbps_virt[i].virt, 939 pci_pool_free(he_dev->rbps_pool, he_dev->rbps_virt[i].virt,
940 he_dev->rbpl_base[i].phys); 940 he_dev->rbps_base[i].phys);
941 kfree(he_dev->rbps_virt); 941 kfree(he_dev->rbps_virt);
942 942
943out_free_rbps_base: 943out_free_rbps_base: