Re: [PATCH] mxser: Remove commented crap

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

 



Alan Cox wrote:
> This is years dead code and it keeps turning up in confusing ways when
> grepping for stuff
>
> Signed-off-by: Alan Cox <[email protected]>
>
> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.23rc3-mm1/drivers/char/mxser.c linux-2.6.23rc3-mm1/drivers/char/mxser.c
> --- linux.vanilla-2.6.23rc3-mm1/drivers/char/mxser.c	2007-08-13 13:27:52.000000000 +0100
> +++ linux-2.6.23rc3-mm1/drivers/char/mxser.c	2007-08-22 17:47:05.000000000 +0100
> @@ -1938,14 +1938,6 @@
>  				inb(info->base + UART_MSR);
>  				continue;
>  			}
> -			/* above add by Victor Yu. 09-13-2002 */
> -			/*
> -			   if (info->tty->flip.count < TTY_FLIPBUF_SIZE / 4) {
> -			   info->IER |= MOXA_MUST_RECV_ISR;
> -			   outb(info->IER, info->base + UART_IER);
> -			   }
> -			 */
> -
>  
>  			/* mask by Victor Yu. 09-13-2002
>  			   if ( !info->tty ||
>   

Looks like another block of commented code starting here...

    J
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux