linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jim Rees <rees@umich.edu>
To: Steve Dickson <SteveD@redhat.com>
Cc: linux-nfs@vger.kernel.org
Subject: [PATCH] blkmapd: remove unused variable
Date: Sun, 17 Jul 2011 16:21:15 -0400	[thread overview]
Message-ID: <1310934075-9459-1-git-send-email-rees@umich.edu> (raw)

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


                 reply	other threads:[~2011-07-17 20:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1310934075-9459-1-git-send-email-rees@umich.edu \
    --to=rees@umich.edu \
    --cc=SteveD@redhat.com \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).