Changeset a818530b in rtems


Ignore:
Timestamp:
Aug 30, 2008, 8:29:57 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
86a65b6
Parents:
f634ca2
Message:

2008-08-30 Joel Sherrill <joel.sherrill@…>

  • libchip/network/sonic.c: Do not declare a variable just to hold an ignored return value.
Location:
c/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/ChangeLog

    rf634ca2 ra818530b  
     12008-08-30      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * libchip/network/sonic.c: Do not declare a variable just to hold an
     4        ignored return value.
     5
    162008-08-20      Sebastian Huber <sebastian.huber@embedded-brains.de>
    27
  • c/src/libchip/network/sonic.c

    rf634ca2 ra818530b  
    11041104  int i;
    11051105  unsigned char *hwaddr;
    1106   rtems_isr_entry old_handler;
    11071106  TransmitDescriptorPointer_t tdp;
    11081107  ReceiveDescriptorPointer_t ordp, rdp;
     
    14071406  (*sc->write_register)( rp, SONIC_REG_IMR, 0 );
    14081407*/
    1409   old_handler = set_vector(sonic_interrupt_handler, sc->vector, 1);
     1408
     1409  /* Ignore returned old handler */
     1410  (void) set_vector(sonic_interrupt_handler, sc->vector, 1);
    14101411
    14111412  /*
Note: See TracChangeset for help on using the changeset viewer.