Patchwork [09/27] ide: Remove useless IDEDeviceInfo members unit, drive

login
register
mail settings
Submitter Kevin Wolf
Date June 4, 2010, 4:32 p.m.
Message ID <1275669195-28312-10-git-send-email-kwolf@redhat.com>
Download mbox | patch
Permalink /patch/54663/
State New
Headers show

Comments

Kevin Wolf - June 4, 2010, 4:32 p.m.
From: Markus Armbruster <armbru@redhat.com>

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
---
 hw/ide/internal.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

Patch

diff --git a/hw/ide/internal.h b/hw/ide/internal.h
index 2efc784..b4554ce 100644
--- a/hw/ide/internal.h
+++ b/hw/ide/internal.h
@@ -464,8 +464,6 @@  typedef int (*ide_qdev_initfn)(IDEDevice *dev);
 struct IDEDeviceInfo {
     DeviceInfo qdev;
     ide_qdev_initfn init;
-    uint32_t unit;
-    DriveInfo *drive;
 };
 
 #define BM_STATUS_DMAING 0x01