Change the name of local variable to prevent the following compilation warning:

/scst/trunk/iscsi-scst/kernel/iscsi.c:190:30: warning: symbol 'req'
shadows an earlier one
/scst/trunk/iscsi-scst/kernel/iscsi.c:182:29: originally declared here

Signed-off-by: Dotan Barak <dotanba@gmail.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@446 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2008-07-09 17:32:16 +00:00
parent 1c9a2b3f4b
commit f2c65365fd

View File

@@ -187,9 +187,9 @@ void cmnd_free(struct iscsi_cmnd *cmnd)
req->cmd_sn, be32_to_cpu(cmnd->pdu.datasize));
if (unlikely(cmnd->parent_req)) {
struct iscsi_scsi_cmd_hdr *req =
struct iscsi_scsi_cmd_hdr *preq =
cmnd_hdr(cmnd->parent_req);
PRINT_CRIT_ERROR("%p %x %u", req, req->opcode, req->scb[0]);
PRINT_CRIT_ERROR("%p %x %u", preq, preq->opcode, preq->scb[0]);
}
sBUG();
}