On Wed, Sep 27, 2017 at 01:14:49PM -0400, David Kershner wrote:
> Clean up unneeded parenthesis reported by checkpatch.pl.
> 
> Signed-off-by: David Kershner <david.kersh...@unisys.com>
> Reviewed-by: Tim Sell <timothy.s...@unisys.com>
> ---
>  drivers/staging/unisys/visorhba/visorhba_main.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/staging/unisys/visorhba/visorhba_main.c 
> b/drivers/staging/unisys/visorhba/visorhba_main.c
> index 91e6e35..0bcd3ac 100644
> --- a/drivers/staging/unisys/visorhba/visorhba_main.c
> +++ b/drivers/staging/unisys/visorhba/visorhba_main.c
> @@ -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) &&
            ^                                                   ^
Let's remove these as well...  It can be done in a later patch.

> -         (cmdrsp->scsi.addlstat == ADDL_SEL_TIMEOUT))
> +         cmdrsp->scsi.addlstat == ADDL_SEL_TIMEOUT)
>               return;

regards,
dan carpenter
_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to