Changeset d1dbd228 in rtems


Ignore:
Timestamp:
Oct 11, 2011, 5:19:13 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, 5, master
Children:
764d531
Parents:
b4fe8c3
Message:

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

  • libchip/network/smc91111.c: Eliminate unused var "success".
Location:
c/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/ChangeLog

    rb4fe8c3 rd1dbd228  
    112011-10-11      Ralf Corsépius <ralf.corsepius@rtems.org>
    22
     3        * libchip/network/smc91111.c: Eliminate unused var "success".
    34        * libchip/serial/mc68681.c: Eliminate unused var "getReg".
    45
  • c/src/libchip/network/smc91111.c

    rb4fe8c3 rd1dbd228  
    717717{
    718718        unsigned short packet, tcr;
    719         int success = 1;
    720719        int saved_packet;
    721720
     
    778777                tcr |= LAN91CXX_TCR_TXENA;
    779778                put_reg(cpd, LAN91CXX_TCR, tcr);
    780                 success = 0;    /* And treat this as an error... */
    781779        }
    782780
Note: See TracChangeset for help on using the changeset viewer.