pch_uart: delete unused data structure
Signed-off-by: Tomoya MORINAGA <tomoya.rohm@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5181fb3d51
commit
159d4e1e73
1 changed files with 0 additions and 6 deletions
|
@ -228,7 +228,6 @@ struct eg20t_port {
|
||||||
int start_tx;
|
int start_tx;
|
||||||
int start_rx;
|
int start_rx;
|
||||||
int tx_empty;
|
int tx_empty;
|
||||||
int int_dis_flag;
|
|
||||||
int trigger;
|
int trigger;
|
||||||
int trigger_level;
|
int trigger_level;
|
||||||
struct pch_uart_buffer rxbuf;
|
struct pch_uart_buffer rxbuf;
|
||||||
|
@ -1101,10 +1100,6 @@ static irqreturn_t pch_uart_interrupt(int irq, void *dev_id)
|
||||||
}
|
}
|
||||||
handled |= (unsigned int)ret;
|
handled |= (unsigned int)ret;
|
||||||
}
|
}
|
||||||
if (handled == 0 && iid <= 1) {
|
|
||||||
if (priv->int_dis_flag)
|
|
||||||
priv->int_dis_flag = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
spin_unlock_irqrestore(&priv->port.lock, flags);
|
spin_unlock_irqrestore(&priv->port.lock, flags);
|
||||||
return IRQ_RETVAL(handled);
|
return IRQ_RETVAL(handled);
|
||||||
|
@ -1199,7 +1194,6 @@ static void pch_uart_stop_rx(struct uart_port *port)
|
||||||
priv = container_of(port, struct eg20t_port, port);
|
priv = container_of(port, struct eg20t_port, port);
|
||||||
priv->start_rx = 0;
|
priv->start_rx = 0;
|
||||||
pch_uart_hal_disable_interrupt(priv, PCH_UART_HAL_RX_INT);
|
pch_uart_hal_disable_interrupt(priv, PCH_UART_HAL_RX_INT);
|
||||||
priv->int_dis_flag = 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Enable the modem status interrupts. */
|
/* Enable the modem status interrupts. */
|
||||||
|
|
Loading…
Reference in a new issue