mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-21 20:51:27 +00:00
qla2x00t-32gbit: Remove free_sg command flag
The use of the free_sg command flag was dropped in commit 2c39b5ca2a8c
("qla2xxx: Remove SRR code"). Hence remove this flag and its check.
Link: https://lore.kernel.org/r/AS8PR10MB4952747D20B76DC8FE793CCA9DEE9@AS8PR10MB4952.EURPRD10.PROD.OUTLOOK.COM
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Gleb Chesnokov <Chesnokov.G@raidix.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
[ commit ad14649fc5ab upstream ]
This commit is contained in:
@@ -3913,8 +3913,6 @@ void qlt_free_cmd(struct qla_tgt_cmd *cmd)
|
||||
|
||||
BUG_ON(cmd->sg_mapped);
|
||||
cmd->jiffies_at_free = get_jiffies_64();
|
||||
if (unlikely(cmd->free_sg))
|
||||
kfree(cmd->sg);
|
||||
|
||||
if (!sess || !sess->se_sess) {
|
||||
WARN_ON(1);
|
||||
|
||||
@@ -925,7 +925,6 @@ struct qla_tgt_cmd {
|
||||
/* to save extra sess dereferences */
|
||||
unsigned int conf_compl_supported:1;
|
||||
unsigned int sg_mapped:1;
|
||||
unsigned int free_sg:1;
|
||||
unsigned int write_data_transferred:1;
|
||||
unsigned int q_full:1;
|
||||
unsigned int term_exchg:1;
|
||||
|
||||
Reference in New Issue
Block a user