crisv10: stop returning info from handle_ser_rx_interrupt
The return value is not used anywhere, so no need to return anything. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b1d984cf7d
commit
12aad550f0
|
@ -2258,8 +2258,7 @@ TODO: The break will be delayed until an F or V character is received.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static
|
static void handle_ser_rx_interrupt_no_dma(struct e100_serial *info)
|
||||||
struct e100_serial * handle_ser_rx_interrupt_no_dma(struct e100_serial *info)
|
|
||||||
{
|
{
|
||||||
unsigned long data_read;
|
unsigned long data_read;
|
||||||
|
|
||||||
|
@ -2365,10 +2364,9 @@ more_data:
|
||||||
}
|
}
|
||||||
|
|
||||||
tty_flip_buffer_push(&info->port);
|
tty_flip_buffer_push(&info->port);
|
||||||
return info;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct e100_serial* handle_ser_rx_interrupt(struct e100_serial *info)
|
static void handle_ser_rx_interrupt(struct e100_serial *info)
|
||||||
{
|
{
|
||||||
unsigned char rstat;
|
unsigned char rstat;
|
||||||
|
|
||||||
|
@ -2377,7 +2375,8 @@ static struct e100_serial* handle_ser_rx_interrupt(struct e100_serial *info)
|
||||||
#endif
|
#endif
|
||||||
/* DEBUG_LOG(info->line, "ser_interrupt stat %03X\n", rstat | (i << 8)); */
|
/* DEBUG_LOG(info->line, "ser_interrupt stat %03X\n", rstat | (i << 8)); */
|
||||||
if (!info->uses_dma_in) {
|
if (!info->uses_dma_in) {
|
||||||
return handle_ser_rx_interrupt_no_dma(info);
|
handle_ser_rx_interrupt_no_dma(info);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
/* DMA is used */
|
/* DMA is used */
|
||||||
rstat = info->ioport[REG_STATUS];
|
rstat = info->ioport[REG_STATUS];
|
||||||
|
@ -2484,7 +2483,6 @@ static struct e100_serial* handle_ser_rx_interrupt(struct e100_serial *info)
|
||||||
/* Restarting the DMA never hurts */
|
/* Restarting the DMA never hurts */
|
||||||
*info->icmdadr = IO_STATE(R_DMA_CH6_CMD, cmd, restart);
|
*info->icmdadr = IO_STATE(R_DMA_CH6_CMD, cmd, restart);
|
||||||
START_FLUSH_FAST_TIMER(info, "ser_int");
|
START_FLUSH_FAST_TIMER(info, "ser_int");
|
||||||
return info;
|
|
||||||
} /* handle_ser_rx_interrupt */
|
} /* handle_ser_rx_interrupt */
|
||||||
|
|
||||||
static void handle_ser_tx_interrupt(struct e100_serial *info)
|
static void handle_ser_tx_interrupt(struct e100_serial *info)
|
||||||
|
|
Loading…
Reference in a new issue