Remove a superfluous pair of braces since checkpatch complains about these.

BSD-signed-off-by: Bart Van Assche <bvanassche@acm.org>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3946 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2011-12-02 02:26:29 +00:00
parent f8c3b26620
commit 2dd1d93762

View File

@@ -2580,16 +2580,14 @@ static void q2x_init_ctio_ret_entry(ctio_ret_entry_t *ctio_m1,
ctio_m1->flags = cpu_to_le16(OF_SSTS | OF_FAST_POST |
OF_NO_DATA | OF_SS_MODE_1);
ctio_m1->flags |= cpu_to_le16(OF_INC_RC);
if (q2t_need_explicit_conf(prm->tgt->ha, prm->cmd, 0)) {
if (q2t_need_explicit_conf(prm->tgt->ha, prm->cmd, 0))
ctio_m1->flags |= cpu_to_le16(OF_EXPL_CONF | OF_CONF_REQ);
}
ctio_m1->scsi_status = cpu_to_le16(prm->rq_result);
ctio_m1->residual = cpu_to_le32(prm->residual);
if (SCST_SENSE_VALID(prm->sense_buffer)) {
if (q2t_need_explicit_conf(prm->tgt->ha, prm->cmd, 1)) {
ctio_m1->flags |= cpu_to_le16(OF_EXPL_CONF |
OF_CONF_REQ);
}
if (q2t_need_explicit_conf(prm->tgt->ha, prm->cmd, 1))
ctio_m1->flags |= cpu_to_le16(OF_EXPL_CONF | OF_CONF_REQ);
ctio_m1->scsi_status |= cpu_to_le16(SS_SENSE_LEN_VALID);
ctio_m1->sense_length = cpu_to_le16(prm->sense_buffer_len);
memcpy(ctio_m1->sense_data, prm->sense_buffer,