staging: unisys: visorhba: clean up parenthesis
authorDavid Kershner <david.kershner@unisys.com>
Wed, 27 Sep 2017 17:14:49 +0000 (13:14 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Sep 2017 09:20:22 +0000 (11:20 +0200)
Clean up unneeded parenthesis reported by checkpatch.pl.

Signed-off-by: David Kershner <david.kershner@unisys.com>
Reviewed-by: Tim Sell <timothy.sell@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorhba/visorhba_main.c

index 91e6e358f506e8645791bdbebcaf756e0c961c76..0bcd3acb7b0c8b30147ff2ae9d962ba569b5dd0f 100644 (file)
@@ -820,9 +820,9 @@ static void do_scsi_linuxstat(struct uiscmdrsp *cmdrsp,
        memcpy(scsicmd->sense_buffer, cmdrsp->scsi.sensebuf, MAX_SENSE_SIZE);
 
        /* 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) &&
-           (cmdrsp->scsi.addlstat == ADDL_SEL_TIMEOUT))
+           cmdrsp->scsi.addlstat == ADDL_SEL_TIMEOUT)
                return;
        /* Okay see what our error_count is here.... */
        vdisk = scsidev->hostdata;
@@ -870,8 +870,8 @@ static void do_scsi_nolinuxstat(struct uiscmdrsp *cmdrsp,
        struct visordisk_info *vdisk;
 
        scsidev = scsicmd->device;
-       if ((cmdrsp->scsi.cmnd[0] == INQUIRY) &&
-           (cmdrsp->scsi.bufflen >= MIN_INQUIRY_RESULT_LEN)) {
+       if (cmdrsp->scsi.cmnd[0] == INQUIRY &&
+           cmdrsp->scsi.bufflen >= MIN_INQUIRY_RESULT_LEN) {
                if (cmdrsp->scsi.no_disk_result == 0)
                        return;