OSDN Git Service

eepro100: Remove unused structure element
authorStefan Weil <weil@mail.berlios.de>
Sat, 30 Apr 2011 20:40:06 +0000 (22:40 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 5 May 2011 12:50:04 +0000 (15:50 +0300)
commit27112f18f9025d537f3e6f6df3e574e7f0902cda
treeba20e006661576b4606a2e899728d262279e8336
parent77bee84e6a05f086ce40088e4dbadf28e14e4eed
eepro100: Remove unused structure element

cppcheck reports that 'packet' is unused.

It was only used to calculate the size of the preceding data.
Removing it saves a lot of stack space (local variable rx).

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/eepro100.c