Commit a21f95e5 authored by Tobin C. Harding's avatar Tobin C. Harding Committed by Greg Kroah-Hartman

staging: dgnc: remove dead code

Driver contains dead code, guarded with #ifdef's. We can safely remove
this, it will be in the git history if it is later needed.

Remove dead code.
Signed-off-by: default avatarTobin C. Harding <me@tobin.cc>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0053fe0e
...@@ -96,12 +96,7 @@ static inline void neo_set_cts_flow_control(struct channel_t *ch) ...@@ -96,12 +96,7 @@ static inline void neo_set_cts_flow_control(struct channel_t *ch)
unsigned char efr = readb(&ch->ch_neo_uart->efr); unsigned char efr = readb(&ch->ch_neo_uart->efr);
/* Turn on auto CTS flow control */ /* Turn on auto CTS flow control */
#if 1
ier |= UART_17158_IER_CTSDSR; ier |= UART_17158_IER_CTSDSR;
#else
ier &= ~(UART_17158_IER_CTSDSR);
#endif
efr |= (UART_17158_EFR_ECB | UART_17158_EFR_CTSDSR); efr |= (UART_17158_EFR_ECB | UART_17158_EFR_CTSDSR);
/* Turn off auto Xon flow control */ /* Turn off auto Xon flow control */
...@@ -135,11 +130,7 @@ static inline void neo_set_rts_flow_control(struct channel_t *ch) ...@@ -135,11 +130,7 @@ static inline void neo_set_rts_flow_control(struct channel_t *ch)
unsigned char efr = readb(&ch->ch_neo_uart->efr); unsigned char efr = readb(&ch->ch_neo_uart->efr);
/* Turn on auto RTS flow control */ /* Turn on auto RTS flow control */
#if 1
ier |= UART_17158_IER_RTSDTR; ier |= UART_17158_IER_RTSDTR;
#else
ier &= ~(UART_17158_IER_RTSDTR);
#endif
efr |= (UART_17158_EFR_ECB | UART_17158_EFR_RTSDTR); efr |= (UART_17158_EFR_ECB | UART_17158_EFR_RTSDTR);
/* Turn off auto Xoff flow control */ /* Turn off auto Xoff flow control */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment