@@ -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;
}
Signed-off-by: Jim Rees <rees@umich.edu> --- utils/blkmapd/device-process.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)