scsi: qla2xxx: Cleanup FC-NVMe code
authorhimanshu.madhani@cavium.com <himanshu.madhani@cavium.com>
Fri, 21 Jul 2017 16:32:23 +0000 (09:32 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 7 Aug 2017 18:04:02 +0000 (14:04 -0400)
commit6fcd98fd2c731f87ab5ccd604d61d0ef20a8c5b2
treeea431a7458ae60e99575271f872fa564101f5f28
parente14a3967723ed4a1dacd180cfc560ffc510ea2a6
scsi: qla2xxx: Cleanup FC-NVMe code

This patch does not change any functionality.

Following cleanups have been done as requested by reviewer

- Changed waitQ --> waitq
- Collapsed multiple debug statements into single
- Remove extra parentheses in if-else as per operator precedence
- Remove unnecessary casting

Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_nvme.c
drivers/scsi/qla2xxx/qla_os.c