Changeset d8b4256 in rtems


Ignore:
Timestamp:
Oct 26, 2011, 2:51:15 AM (8 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, master
Children:
c4639963
Parents:
5008f65
Message:

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

  • libchip/serial/ns16550.c (ns16550_init): Remove unused var "ucTrash".
Location:
c/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/ChangeLog

    r5008f65 rd8b4256  
     12011-10-26      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * libchip/serial/ns16550.c (ns16550_init):
     4        Remove unused var "ucTrash".
     5
    162011-10-23      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • c/src/libchip/serial/ns16550.c

    r5008f65 rd8b4256  
    9797{
    9898  uintptr_t               pNS16550;
    99   uint8_t                 ucTrash;
    10099  uint8_t                 ucDataByte;
    101100  uint32_t                ulBaudDivisor;
     
    157156  (*setReg)(pNS16550, NS16550_MODEM_CONTROL,pns16550Context->ucModemCtrl);
    158157
    159   ucTrash = (*getReg)(pNS16550, NS16550_LINE_STATUS );
    160   ucTrash = (*getReg)(pNS16550, NS16550_RECEIVE_BUFFER );
     158  (*getReg)(pNS16550, NS16550_LINE_STATUS );
     159  (*getReg)(pNS16550, NS16550_RECEIVE_BUFFER );
    161160}
    162161
Note: See TracChangeset for help on using the changeset viewer.