Re: [PATCH 3/3] staging: dgnc: dgnc_neo.c: remove unnecessary parentheses

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Dec 16, 2017 at 10:16:01PM +0200, Kamal Heib wrote:
> Cleanup the "Unnecessary parentheses around <expr>" checkpatch.pl error.
> 
> Signed-off-by: Kamal Heib <kamalheib1@xxxxxxxxx>
> ---
>  drivers/staging/dgnc/dgnc_neo.c | 22 +++++++++++-----------
>  1 file changed, 11 insertions(+), 11 deletions(-)
> 
> diff --git a/drivers/staging/dgnc/dgnc_neo.c b/drivers/staging/dgnc/dgnc_neo.c
> index 0ae229c3aaaa..45bf2dd01bb9 100644
> --- a/drivers/staging/dgnc/dgnc_neo.c
> +++ b/drivers/staging/dgnc/dgnc_neo.c
> @@ -651,7 +651,7 @@ static void neo_param(struct tty_struct *tty)
>  		 * is NOT open
>  		 */
>  		if (!(ch->ch_tun.un_flags & UN_ISOPEN) &&
> -		    (un->un_type == DGNC_PRINT))
> +		    un->un_type == DGNC_PRINT)

And again, same issue :(
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux