IB/iser: remove unused variable from iser_conn struct
max_sectors calculation was fixed in commit:
9c674815d3
("IB/iser: Fix max_sectors calculation").
Thus, iser_conn variable scsi_max_sectors is not needed anymore.
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Tested-by: Raju Rangoju <rajur@chelsio.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:

committed by
Doug Ledford

parent
1e5db6c31a
commit
83236f0157
@@ -496,7 +496,6 @@ struct ib_conn {
|
||||
* @rx_descs: rx buffers array (cyclic buffer)
|
||||
* @num_rx_descs: number of rx descriptors
|
||||
* @scsi_sg_tablesize: scsi host sg_tablesize
|
||||
* @scsi_max_sectors: scsi host max sectors
|
||||
*/
|
||||
struct iser_conn {
|
||||
struct ib_conn ib_conn;
|
||||
@@ -519,7 +518,6 @@ struct iser_conn {
|
||||
struct iser_rx_desc *rx_descs;
|
||||
u32 num_rx_descs;
|
||||
unsigned short scsi_sg_tablesize;
|
||||
unsigned int scsi_max_sectors;
|
||||
bool snd_w_inv;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user