From 75422b0d38029d2e098309da4dd7199dc7b2d2a9 Mon Sep 17 00:00:00 2001 From: Amit Shah Date: Thu, 25 Feb 2010 17:24:43 +0530 Subject: qdev: Add a DEV_NVECTORS_UNSPECIFIED enum for unspecified nr of MSI vectors net.c used a constant to signify no MSI vectors were specified. Extend that to all qdev devices. Signed-off-by: Amit Shah Reported-by: "Michael S. Tsirkin" Signed-off-by: Anthony Liguori --- net.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'net.h') diff --git a/net.h b/net.h index 33a1eaf..16f19c5 100644 --- a/net.h +++ b/net.h @@ -123,9 +123,6 @@ void do_set_link(Monitor *mon, const QDict *qdict); /* NIC info */ #define MAX_NICS 8 -enum { - NIC_NVECTORS_UNSPECIFIED = -1 -}; struct NICInfo { uint8_t macaddr[6]; -- cgit v1.1