From f6315d5e5b7b71515ef051711e5f818a42d6b3b3 Mon Sep 17 00:00:00 2001 From: Freddie Chopin Date: Fri, 3 Jun 2011 22:10:03 +0200 Subject: Fix "unused variable" warnings (errors) detected with GCC 4.7.0 - trivial fixes --- src/pld/virtex2.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/pld') diff --git a/src/pld/virtex2.c b/src/pld/virtex2.c index f4657bcf..fdaeb61e 100644 --- a/src/pld/virtex2.c +++ b/src/pld/virtex2.c @@ -175,7 +175,6 @@ static int virtex2_load(struct pld_device *pld_device, const char *filename) COMMAND_HANDLER(virtex2_handle_read_stat_command) { struct pld_device *device; - struct virtex2_pld_device *virtex2_info; uint32_t status; if (CMD_ARGC < 1) @@ -193,8 +192,6 @@ COMMAND_HANDLER(virtex2_handle_read_stat_command) return ERROR_OK; } - virtex2_info = device->driver_priv; - virtex2_read_stat(device, &status); command_print(CMD_CTX, "virtex2 status register: 0x%8.8" PRIx32 "", status); -- cgit v1.2.3