]> Git Repo - qemu.git/blobdiff - hw/net/ne2000-isa.c
xen-platform: Replace assert() with appropriate error reporting
[qemu.git] / hw / net / ne2000-isa.c
index 82e2ba17c13c23d1bbe888aa2de3fbabf46f928a..18b064463afec01c2677c8a10dfd47537fdb4cf7 100644 (file)
@@ -41,19 +41,10 @@ typedef struct ISANE2000State {
     NE2000State ne2000;
 } ISANE2000State;
 
-static void isa_ne2000_cleanup(NetClientState *nc)
-{
-    NE2000State *s = qemu_get_nic_opaque(nc);
-
-    s->nic = NULL;
-}
-
 static NetClientInfo net_ne2000_isa_info = {
     .type = NET_CLIENT_OPTIONS_KIND_NIC,
     .size = sizeof(NICState),
-    .can_receive = ne2000_can_receive,
     .receive = ne2000_receive,
-    .cleanup = isa_ne2000_cleanup,
 };
 
 static const VMStateDescription vmstate_isa_ne2000 = {
This page took 0.023912 seconds and 4 git commands to generate.