2011-12-01 Ralf Corsépius <ralf.corsepius@rtems.org>

* console/console.c: Eliminate unused var "nb_overflow".
This commit is contained in:
Ralf Corsepius
2011-12-01 08:16:05 +00:00
parent 952199297e
commit a6b5e83638
2 changed files with 5 additions and 2 deletions
@@ -1,3 +1,7 @@
2011-12-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console.c: Eliminate unused var "nb_overflow".
2011-08-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
* start/start.S: Update due to API changes.
@@ -284,7 +284,6 @@ static void mpc5200_psc_interrupt_handler(rtems_irq_hdl_param handle)
{
unsigned char c;
uint16_t isr;
int nb_overflow;
int minor = (int)handle;
struct mpc5200_psc *psc =
(struct mpc5200_psc *)(&mpc5200.psc[psc_minor_to_regset[minor]]);
@@ -311,7 +310,7 @@ static void mpc5200_psc_interrupt_handler(rtems_irq_hdl_param handle)
c = (psc->rb_tb >> 24);
if (ttyp[minor] != NULL) {
nb_overflow = rtems_termios_enqueue_raw_characters(
rtems_termios_enqueue_raw_characters(
(void *)ttyp[minor], (char *)&c, (int)1);
channel_info[minor].rx_characters++;
}