Changeset a399857 in rtems


Ignore:
Timestamp:
Oct 10, 2011, 8:37:28 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, 5, master
Children:
7095f9f8
Parents:
fcec9c4
Message:

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

  • libchip/serial/z85c30.c: Eliminate unused var "dummy".
Location:
c/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/ChangeLog

    rfcec9c4 ra399857  
    112011-10-10      Ralf Corsépius <ralf.corsepius@rtems.org>
    22
     3        * libchip/serial/z85c30.c: Eliminate unused var "dummy".
    34        * libchip/network/sonic.c: Don't cast pointers to uint32_t.
    45
  • c/src/libchip/serial/z85c30.c

    rfcec9c4 ra399857  
    255255{
    256256  uintptr_t        ulCtrlPort;
    257   uint8_t          dummy;
    258257  z85c30_context  *pz85c30Context;
    259258  setRegister_f    setReg;
     
    277276     * Ensure port state machine is reset
    278277     */
    279     dummy = (*getReg)(ulCtrlPort, SCC_WR0_SEL_RD0);
     278    (*getReg)(ulCtrlPort, SCC_WR0_SEL_RD0);
    280279
    281280    (*setReg)(ulCtrlPort, SCC_WR0_SEL_WR9, SCC_WR9_CH_A_RST);
     
    288287     * Ensure port state machine is reset
    289288     */
    290     dummy = (*getReg)(ulCtrlPort, SCC_WR0_SEL_RD0);
     289    (*getReg)(ulCtrlPort, SCC_WR0_SEL_RD0);
    291290
    292291    (*setReg)(ulCtrlPort, SCC_WR0_SEL_WR9, SCC_WR9_CH_B_RST);
Note: See TracChangeset for help on using the changeset viewer.