Signed-off-by: Hagen Paul Pfeifer <[email protected]>
Cc: Sasha Levin <[email protected]>
Cc: Pekka Enberg <[email protected]>
---
tools/kvm/builtin-run.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/tools/kvm/builtin-run.c b/tools/kvm/builtin-run.c
index 725c23c..53ab911 100644
--- a/tools/kvm/builtin-run.c
+++ b/tools/kvm/builtin-run.c
@@ -177,7 +177,6 @@ static int shmem_parser(const struct option *opt, const
char *arg, int unset)
const uint64_t default_phys_addr = SHMEM_DEFAULT_ADDR;
const char *default_handle = SHMEM_DEFAULT_HANDLE;
struct shmem_info *si = malloc(sizeof(struct shmem_info));
- enum { PCI, UNK } addr_type = PCI;
uint64_t phys_addr;
uint64_t size;
char *handle = NULL;
@@ -193,7 +192,6 @@ static int shmem_parser(const struct option *opt, const
char *arg, int unset)
/* parse out optional addr family */
if (strcasestr(p, "pci:")) {
p += skip_pci;
- addr_type = PCI;
} else if (strcasestr(p, "mem:")) {
die("I can't add to E820 map yet.\n");
}
--
1.7.5.4
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html