lkml.org 
[lkml]   [2014]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] staging: dgnc: remove commented code
On 2014-07-25 at 18:49:01 +0200, Seunghun Lee <waydi1@gmail.com> wrote:
> This patch removes commented code in dgnc driver.
>
> CC: Lidza Louina <lidza.louina@gmail.com>
> CC: Mark Hounschell <markh@compro.net>
> Signed-off-by: Seunghun Lee <waydi1@gmail.com>
> ---
> drivers/staging/dgnc/dgnc_cls.c | 5 +-
> drivers/staging/dgnc/dgnc_trace.c | 123 -------------------------------------
> drivers/staging/dgnc/dgnc_trace.h | 10 ---
> drivers/staging/dgnc/dgnc_tty.c | 18 ------
> drivers/staging/dgnc/digi.h | 1 -
> 5 files changed, 1 insertion(+), 156 deletions(-)
>
> diff --git a/drivers/staging/dgnc/dgnc_cls.c b/drivers/staging/dgnc/dgnc_cls.c
> index 8e265c2..4b65306 100644
> --- a/drivers/staging/dgnc/dgnc_cls.c
> +++ b/drivers/staging/dgnc/dgnc_cls.c
> @@ -1046,10 +1046,7 @@ static void cls_flush_uart_read(struct channel_t *ch)
> * I believe this is a BUG in this UART.
> * So for now, we will leave the code #ifdef'ed out...
> */

The comment above relates to the deleted code, so it should be updated
accordingly.

> -#if 0
> - writeb((UART_FCR_ENABLE_FIFO | UART_FCR_CLEAR_RCVR),
> - &ch->ch_cls_uart->isr_fcr);
> -#endif
> +
> udelay(10);
> }


\
 
 \ /
  Last update: 2014-07-29 12:01    [W:0.031 / U:1.908 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site