[PATCH] blkmapd: remove unused variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Jim Rees <rees@xxxxxxxxx>
---
 utils/blkmapd/device-process.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

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;
 		}
-- 
1.7.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux