mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 03:01:26 +00:00
Small cleanup
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4261 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -4750,8 +4750,11 @@ struct scst_cmd *scst_alloc_cmd(const uint8_t *cdb,
|
||||
cmd->queue_type = SCST_CMD_QUEUE_SIMPLE;
|
||||
cmd->timeout = SCST_DEFAULT_TIMEOUT;
|
||||
cmd->retries = 0;
|
||||
#ifdef CONFIG_SCST_EXTRACHECKS
|
||||
/* To ensure they are inited */
|
||||
cmd->lba = SCST_DEF_LBA_DATA_LEN;
|
||||
cmd->data_len = SCST_DEF_LBA_DATA_LEN;
|
||||
#endif
|
||||
cmd->is_send_status = 1;
|
||||
cmd->resp_data_len = -1;
|
||||
cmd->write_sg = &cmd->sg;
|
||||
|
||||
Reference in New Issue
Block a user