aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/be2iscsi/be_main.h
diff options
context:
space:
mode:
authorJayamohan Kallickal <jayamohank@serverengines.com>2009-09-22 08:22:26 +0530
committerJames Bottomley <James.Bottomley@suse.de>2009-10-02 14:01:55 -0500
commit2afc95bf546a961d2936d886c3802e159f1bae6b (patch)
treeb898db3b79c260dac3f050955fc512c118f97efe /drivers/scsi/be2iscsi/be_main.h
parentb8b9e1b8128d8854cf55740f9ceba3010143520d (diff)
downloadkernel_samsung_smdk4412-2afc95bf546a961d2936d886c3802e159f1bae6b.zip
kernel_samsung_smdk4412-2afc95bf546a961d2936d886c3802e159f1bae6b.tar.gz
kernel_samsung_smdk4412-2afc95bf546a961d2936d886c3802e159f1bae6b.tar.bz2
[SCSI] be2iscsi: Moving to pci_pools v3
This patch contains changes to use pci_pools for iscsi hdr instead of pci_alloc_consistent. Here we alloc and free to pool for every IO v3: - Remove cleanup loop in beiscsi_session_destroy - Fixup for allocation failure handling in beiscsi_alloc_pdu - Removed unused variable in beiscsi_session_destroy. [jejb: fix up pci_pool_alloc address sizing problem] Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com> Reviewed-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/be2iscsi/be_main.h')
-rw-r--r--drivers/scsi/be2iscsi/be_main.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/be2iscsi/be_main.h b/drivers/scsi/be2iscsi/be_main.h
index 387e363..53c9b70 100644
--- a/drivers/scsi/be2iscsi/be_main.h
+++ b/drivers/scsi/be2iscsi/be_main.h
@@ -391,7 +391,6 @@ struct beiscsi_io_task {
unsigned short cid;
unsigned short header_len;
- unsigned int alloc_size;
struct be_cmd_bhs *cmd_bhs;
struct be_bus_address bhs_pa;
unsigned short bhs_len;