[PATCH 08/21] Remove leftovers in device-hotplug.c

Anthony Liguori
2009-04-29T21:21:04Z

Post merge into upstream, device-hotplug.c is carrying stray #includes,
#defines, and whitespace changes.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
---
hw/device-hotplug.c | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)

diff --git a/hw/device-hotplug.c b/hw/device-hotplug.c
index 24ab506..3bdc048 100644
--- a/hw/device-hotplug.c
+++ b/hw/device-hotplug.c
@@ -27,14 +27,6 @@
#include "net.h"
#include "block_int.h"
#include "sysemu.h"
-#include "pci.h"
-#include "pc.h"
-#include "console.h"
-#include "config.h"
-#include "virtio-blk.h"
-
-#define PCI_BASE_CLASS_STORAGE 0x01
-#define PCI_BASE_CLASS_NETWORK 0x02

int add_init_drive(const char *opts)
{
@@ -91,3 +83,4 @@ void destroy_bdrvs(dev_match_fn *match_fn, void *arg)
}
}

+
--
1.6.0.6