diff options
author | Daeseok Youn <daeseok.youn@gmail.com> | 2016-07-06 09:18:25 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-15 20:13:26 +0300 |
commit | 572f4f61cd56a192dca8415f84d1abd6b10e2b26 (patch) | |
tree | 15714883e8b5d7ff82eae18f5b0dcde5653620de /drivers/staging/dgnc/dgnc_cls.c | |
parent | 262c5e1bab2a8bedb9e5148b17cf6de7674934cf (diff) | |
download | linux-572f4f61cd56a192dca8415f84d1abd6b10e2b26.tar.xz |
staging: dgnc: remove useless variable 'intr_rx'
The 'intr_rx' variable was used only for increasing.
So the 'intr_rx' variable is not useful for this driver.
Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dgnc/dgnc_cls.c')
-rw-r--r-- | drivers/staging/dgnc/dgnc_cls.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/dgnc/dgnc_cls.c b/drivers/staging/dgnc/dgnc_cls.c index 088b54694bb2..31fcf04179f3 100644 --- a/drivers/staging/dgnc/dgnc_cls.c +++ b/drivers/staging/dgnc/dgnc_cls.c @@ -584,7 +584,6 @@ static inline void cls_parse_isr(struct dgnc_board *brd, uint port) /* Receive Interrupt pending */ if (isr & (UART_IIR_RDI | UART_IIR_RDI_TIMEOUT)) { /* Read data from uart -> queue */ - brd->intr_rx++; ch->ch_intr_rx++; cls_copy_data_from_uart_to_queue(ch); dgnc_check_queue_flow_control(ch); |