2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>

* ne2000/ne2000.c: Remove unused var "stat".
This commit is contained in:
Ralf Corsepius
2011-10-17 12:37:24 +00:00
parent 8fd5081a7f
commit c145d73986
2 changed files with 5 additions and 3 deletions

View File

@@ -1,3 +1,7 @@
2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* ne2000/ne2000.c: Remove unused var "stat".
2011-08-29 Joel Sherrill <joel.sherrilL@OARcorp.com>
* configure.ac: Formatting. Remove duplication BSP_HAS_SMP.

View File

@@ -566,7 +566,7 @@ ne_rx_daemon (void *arg)
{
unsigned char startpage, currpage;
unsigned short len;
unsigned char next, stat, cnt1, cnt2;
unsigned char next, cnt1, cnt2;
struct mbuf *m;
unsigned char *p;
int startaddr;
@@ -653,8 +653,6 @@ ne_rx_daemon (void *arg)
goto Next;
}
stat = hdr.rsr;
/* The first four bytes of the length are the buffer header. */
len -= sizeof(struct ne_ring);
startaddr += sizeof(struct ne_ring);