diff mbox

blkmapd: remove unused variable

Message ID 1310934075-9459-1-git-send-email-rees@umich.edu (mailing list archive)
State New, archived
Headers show

Commit Message

Jim Rees July 17, 2011, 8:21 p.m. UTC
Signed-off-by: Jim Rees <rees@umich.edu>
---
 utils/blkmapd/device-process.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/utils/blkmapd/device-process.c b/utils/blkmapd/device-process.c
index 79e596d..27ff374 100644
--- a/utils/blkmapd/device-process.c
+++ b/utils/blkmapd/device-process.c
@@ -204,7 +204,6 @@  static int map_sig_to_device(struct bl_sig *sig, struct bl_volume *vol)
 {
 	int mapped = 0;
 	struct bl_disk *disk;
-	char *filepath = 0;
 
 	/* scan disk list to find out match device */
 	for (disk = visible_disk_list; disk; disk = disk->next) {
@@ -212,7 +211,6 @@  static int map_sig_to_device(struct bl_sig *sig, struct bl_volume *vol)
 		mapped = verify_sig(disk, sig);
 		if (mapped) {
 			vol->param.bv_dev = disk->dev;
-			filepath = disk->valid_path->full_path;
 			vol->bv_size = disk->size;
 			break;
 		}