Commit 6224c320 authored by David Kershner's avatar David Kershner Committed by Greg Kroah-Hartman

staging: unisys: visorhba: clean up parenthesis

Clean up unneeded parenthesis reported by checkpatch.pl.
Signed-off-by: default avatarDavid Kershner <david.kershner@unisys.com>
Reviewed-by: default avatarTim Sell <timothy.sell@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 614b083d
...@@ -820,9 +820,9 @@ static void do_scsi_linuxstat(struct uiscmdrsp *cmdrsp, ...@@ -820,9 +820,9 @@ static void do_scsi_linuxstat(struct uiscmdrsp *cmdrsp,
memcpy(scsicmd->sense_buffer, cmdrsp->scsi.sensebuf, MAX_SENSE_SIZE); memcpy(scsicmd->sense_buffer, cmdrsp->scsi.sensebuf, MAX_SENSE_SIZE);
/* Do not log errors for disk-not-present inquiries */ /* Do not log errors for disk-not-present inquiries */
if ((cmdrsp->scsi.cmnd[0] == INQUIRY) && if (cmdrsp->scsi.cmnd[0] == INQUIRY &&
(host_byte(cmdrsp->scsi.linuxstat) == DID_NO_CONNECT) && (host_byte(cmdrsp->scsi.linuxstat) == DID_NO_CONNECT) &&
(cmdrsp->scsi.addlstat == ADDL_SEL_TIMEOUT)) cmdrsp->scsi.addlstat == ADDL_SEL_TIMEOUT)
return; return;
/* Okay see what our error_count is here.... */ /* Okay see what our error_count is here.... */
vdisk = scsidev->hostdata; vdisk = scsidev->hostdata;
...@@ -870,8 +870,8 @@ static void do_scsi_nolinuxstat(struct uiscmdrsp *cmdrsp, ...@@ -870,8 +870,8 @@ static void do_scsi_nolinuxstat(struct uiscmdrsp *cmdrsp,
struct visordisk_info *vdisk; struct visordisk_info *vdisk;
scsidev = scsicmd->device; scsidev = scsicmd->device;
if ((cmdrsp->scsi.cmnd[0] == INQUIRY) && if (cmdrsp->scsi.cmnd[0] == INQUIRY &&
(cmdrsp->scsi.bufflen >= MIN_INQUIRY_RESULT_LEN)) { cmdrsp->scsi.bufflen >= MIN_INQUIRY_RESULT_LEN) {
if (cmdrsp->scsi.no_disk_result == 0) if (cmdrsp->scsi.no_disk_result == 0)
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment