From patchwork Sun Jul 17 20:21:15 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jim Rees X-Patchwork-Id: 984462 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p6HKLMqb004740 for ; Sun, 17 Jul 2011 20:21:22 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756240Ab1GQUVU (ORCPT ); Sun, 17 Jul 2011 16:21:20 -0400 Received: from merit-proxy02.merit.edu ([207.75.116.194]:40067 "EHLO merit-proxy02.merit.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755110Ab1GQUVT (ORCPT ); Sun, 17 Jul 2011 16:21:19 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by merit-proxy02.merit.edu (Postfix) with ESMTP id E1AD02039851; Sun, 17 Jul 2011 16:21:16 -0400 (EDT) X-Virus-Scanned: amavisd-new at merit-proxy02.merit.edu Received: from merit-proxy02.merit.edu ([127.0.0.1]) by localhost (merit-proxy02.merit.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KeC1e0GlPpc0; Sun, 17 Jul 2011 16:21:16 -0400 (EDT) Received: from merit.edu (74-126-0-171.static.123.net [74.126.0.171]) by merit-proxy02.merit.edu (Postfix) with ESMTPSA id 30C86203984C; Sun, 17 Jul 2011 16:21:16 -0400 (EDT) From: Jim Rees To: Steve Dickson Cc: linux-nfs@vger.kernel.org Subject: [PATCH] blkmapd: remove unused variable Date: Sun, 17 Jul 2011 16:21:15 -0400 Message-Id: <1310934075-9459-1-git-send-email-rees@umich.edu> X-Mailer: git-send-email 1.7.4.1 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Sun, 17 Jul 2011 20:21:23 +0000 (UTC) Signed-off-by: Jim Rees --- 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; }