* [PATCH] blkmapd: remove unused variable
@ 2011-07-17 20:21 Jim Rees
0 siblings, 0 replies; only message in thread
From: Jim Rees @ 2011-07-17 20:21 UTC (permalink / raw)
To: Steve Dickson; +Cc: linux-nfs
Signed-off-by: Jim Rees <rees@umich.edu>
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-07-17 20:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-17 20:21 [PATCH] blkmapd: remove unused variable Jim Rees
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).