scsi: qla2xxx: Reduce the scope of three local variables in qla2xxx_queuecommand()
authorBart Van Assche <bvanassche@acm.org>
Fri, 9 Aug 2019 03:01:31 +0000 (20:01 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Aug 2019 01:34:05 +0000 (21:34 -0400)
commit6d58ef05fd33f0f48923d8ed0a8a002c268313e2
tree8086345ec6e6dcb1f39bf03b8575645462265f2a
parent909c1d1492b634b13a5d960e6803f0d2751509a0
scsi: qla2xxx: Reduce the scope of three local variables in qla2xxx_queuecommand()

This patch makes it clear that the tag, hwq and qpair variables are only
used in the mq path.

Cc: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Tested-by: Himanshu Madhani <hmadhani@marvell.com>
Reviewed-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_os.c