aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/pch_uart.c
diff options
context:
space:
mode:
authorTomoya MORINAGA <tomoya.rohm@gmail.com>2012-03-26 01:43:04 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-09 15:08:42 -0400
commit159d4e1e73dc2c4745b3edb2f2ae51caaae37e5f (patch)
treec1f33e1c46b2ae5c8f4abf20083f3835b65baa18 /drivers/tty/serial/pch_uart.c
parent5181fb3d51d2d886ec9b2fed13a9ad9d5d67ec1f (diff)
pch_uart: delete unused data structure
Signed-off-by: Tomoya MORINAGA <tomoya.rohm@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/pch_uart.c')
-rw-r--r--drivers/tty/serial/pch_uart.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/tty/serial/pch_uart.c b/drivers/tty/serial/pch_uart.c
index d11096c8ca8..d2873c67d25 100644
--- a/drivers/tty/serial/pch_uart.c
+++ b/drivers/tty/serial/pch_uart.c
@@ -228,7 +228,6 @@ struct eg20t_port {
228 int start_tx; 228 int start_tx;
229 int start_rx; 229 int start_rx;
230 int tx_empty; 230 int tx_empty;
231 int int_dis_flag;
232 int trigger; 231 int trigger;
233 int trigger_level; 232 int trigger_level;
234 struct pch_uart_buffer rxbuf; 233 struct pch_uart_buffer rxbuf;
@@ -1101,10 +1100,6 @@ static irqreturn_t pch_uart_interrupt(int irq, void *dev_id)
1101 } 1100 }
1102 handled |= (unsigned int)ret; 1101 handled |= (unsigned int)ret;
1103 } 1102 }
1104 if (handled == 0 && iid <= 1) {
1105 if (priv->int_dis_flag)
1106 priv->int_dis_flag = 0;
1107 }
1108 1103
1109 spin_unlock_irqrestore(&priv->port.lock, flags); 1104 spin_unlock_irqrestore(&priv->port.lock, flags);
1110 return IRQ_RETVAL(handled); 1105 return IRQ_RETVAL(handled);
@@ -1199,7 +1194,6 @@ static void pch_uart_stop_rx(struct uart_port *port)
1199 priv = container_of(port, struct eg20t_port, port); 1194 priv = container_of(port, struct eg20t_port, port);
1200 priv->start_rx = 0; 1195 priv->start_rx = 0;
1201 pch_uart_hal_disable_interrupt(priv, PCH_UART_HAL_RX_INT); 1196 pch_uart_hal_disable_interrupt(priv, PCH_UART_HAL_RX_INT);
1202 priv->int_dis_flag = 1;
1203} 1197}
1204 1198
1205/* Enable the modem status interrupts. */ 1199/* Enable the modem status interrupts. */