Changeset f865fc5d in rtems


Ignore:
Timestamp:
Dec 1, 2011, 8:20:03 AM (7 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, master
Children:
a7fa55ca
Parents:
a6b5e836
Message:

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

  • mpc8260/console-generic/console-generic.c, mpc8xx/console-generic/console-generic.c: Eliminate unused var "nb_overflow".
Location:
c/src/lib/libcpu/powerpc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/powerpc/ChangeLog

    ra6b5e836 rf865fc5d  
    112011-12-01      Ralf Corsépius <ralf.corsepius@rtems.org>
    22
     3        * mpc8260/console-generic/console-generic.c,
     4        mpc8xx/console-generic/console-generic.c:
     5        Eliminate unused var "nb_overflow".
    36        * shared/include/cpuIdent.c, shared/include/cpuIdent.h
    47        (get_ppc_cpu_type_name): Return const char*.
  • c/src/lib/libcpu/powerpc/mpc8260/console-generic/console-generic.c

    ra6b5e836 rf865fc5d  
    354354m8xx_scc1_interrupt_handler (rtems_irq_hdl_param unused)
    355355{
    356   int nb_overflow;
    357 
    358356  /*
    359357   * Buffer received?
     
    368366        (const void *) RxBd[SCC1_MINOR]->buffer,
    369367        RxBd[SCC1_MINOR]->length );
    370       nb_overflow = rtems_termios_enqueue_raw_characters(
     368      rtems_termios_enqueue_raw_characters(
    371369        (void *)ttyp[SCC1_MINOR],
    372370        (char *)RxBd[SCC1_MINOR]->buffer,
     
    398396m8xx_scc2_interrupt_handler (rtems_irq_hdl_param unused)
    399397{
    400   int nb_overflow;
    401 
    402398  /*
    403399   * Buffer received?
     
    412408        (const void *) RxBd[SCC2_MINOR]->buffer,
    413409        RxBd[SCC2_MINOR]->length );
    414       nb_overflow = rtems_termios_enqueue_raw_characters(
     410      rtems_termios_enqueue_raw_characters(
    415411        (void *)ttyp[SCC2_MINOR],
    416412        (char *)RxBd[SCC2_MINOR]->buffer,
     
    443439m8xx_scc3_interrupt_handler (rtems_irq_hdl_param unused)
    444440{
    445   int nb_overflow;
    446 
    447441  /*
    448442   * Buffer received?
     
    457451        (const void *) RxBd[SCC3_MINOR]->buffer,
    458452        RxBd[SCC3_MINOR]->length );
    459       nb_overflow = rtems_termios_enqueue_raw_characters(
     453      rtems_termios_enqueue_raw_characters(
    460454        (void *)ttyp[SCC3_MINOR],
    461455        (char *)RxBd[SCC3_MINOR]->buffer,
     
    489483m8xx_scc4_interrupt_handler (rtems_irq_hdl_param unused)
    490484{
    491   int nb_overflow;
    492 
    493485  /*
    494486   * Buffer received?
     
    503495        (const void *) RxBd[SCC4_MINOR]->buffer,
    504496        RxBd[SCC4_MINOR]->length );
    505       nb_overflow = rtems_termios_enqueue_raw_characters(
     497      rtems_termios_enqueue_raw_characters(
    506498        (void *)ttyp[SCC4_MINOR],
    507499        (char *)RxBd[SCC4_MINOR]->buffer,
     
    533525m8xx_smc1_interrupt_handler (rtems_irq_hdl_param unused)
    534526{
    535   int nb_overflow;
    536 
    537527  /*
    538528   * Buffer received?
     
    547537        (const void *) RxBd[SMC1_MINOR]->buffer,
    548538        RxBd[SMC1_MINOR]->length );
    549       nb_overflow = rtems_termios_enqueue_raw_characters(
     539      rtems_termios_enqueue_raw_characters(
    550540        (void *)ttyp[SMC1_MINOR],
    551541        (char *)RxBd[SMC1_MINOR]->buffer,
     
    578568m8xx_smc2_interrupt_handler (rtems_irq_hdl_param unused)
    579569{
    580   int nb_overflow;
    581 
    582570  /*
    583571   * Buffer received?
     
    592580        (const void *) RxBd[SMC2_MINOR]->buffer,
    593581        RxBd[SMC2_MINOR]->length );
    594       nb_overflow = rtems_termios_enqueue_raw_characters(
     582      rtems_termios_enqueue_raw_characters(
    595583        (void *)ttyp[SMC2_MINOR],
    596584        (char *)RxBd[SMC2_MINOR]->buffer,
  • c/src/lib/libcpu/powerpc/mpc8xx/console-generic/console-generic.c

    ra6b5e836 rf865fc5d  
    386386static void m8xx_scc2_interrupt_handler (void *unused)
    387387{
    388   int nb_overflow;
    389 
    390388  /*
    391389   * Buffer received?
     
    400398        (const void *) RxBd[SCC2_MINOR]->buffer,
    401399        RxBd[SCC2_MINOR]->length );
    402       nb_overflow = rtems_termios_enqueue_raw_characters(
     400      rtems_termios_enqueue_raw_characters(
    403401        (void *)ttyp[SCC2_MINOR],
    404402        (char *)RxBd[SCC2_MINOR]->buffer,
     
    428426m8xx_scc3_interrupt_handler (void *unused)
    429427{
    430   int nb_overflow;
    431 
    432428  /*
    433429   * Buffer received?
     
    442438        (const void *) RxBd[SCC3_MINOR]->buffer,
    443439        RxBd[SCC3_MINOR]->length );
    444       nb_overflow = rtems_termios_enqueue_raw_characters(
     440      rtems_termios_enqueue_raw_characters(
    445441        (void *)ttyp[SCC3_MINOR],
    446442        (char *)RxBd[SCC3_MINOR]->buffer,
     
    469465m8xx_scc4_interrupt_handler (void *unused)
    470466{
    471   int nb_overflow;
    472 
    473467  /*
    474468   * Buffer received?
     
    483477        (const void *) RxBd[SCC4_MINOR]->buffer,
    484478        RxBd[SCC4_MINOR]->length );
    485       nb_overflow = rtems_termios_enqueue_raw_characters(
     479      rtems_termios_enqueue_raw_characters(
    486480        (void *)ttyp[SCC4_MINOR],
    487481        (char *)RxBd[SCC4_MINOR]->buffer,
     
    510504m8xx_smc1_interrupt_handler (void *unused)
    511505{
    512   int nb_overflow;
    513 
    514506  /*
    515507   * Buffer received?
     
    524516        (const void *) RxBd[SMC1_MINOR]->buffer,
    525517        RxBd[SMC1_MINOR]->length );
    526       nb_overflow = rtems_termios_enqueue_raw_characters(
     518      rtems_termios_enqueue_raw_characters(
    527519        (void *)ttyp[SMC1_MINOR],
    528520        (char *)RxBd[SMC1_MINOR]->buffer,
     
    551543m8xx_smc2_interrupt_handler (void *unused)
    552544{
    553   int nb_overflow;
    554 
    555545  /*
    556546   * Buffer received?
     
    565555        (const void *) RxBd[SMC2_MINOR]->buffer,
    566556        RxBd[SMC2_MINOR]->length );
    567       nb_overflow = rtems_termios_enqueue_raw_characters(
     557      rtems_termios_enqueue_raw_characters(
    568558        (void *)ttyp[SMC2_MINOR],
    569559        (char *)RxBd[SMC2_MINOR]->buffer,
Note: See TracChangeset for help on using the changeset viewer.