From patchwork Wed Feb 23 22:29:13 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Ball X-Patchwork-Id: 585931 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p1NMbPQQ023519 for ; Wed, 23 Feb 2011 22:37:39 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754504Ab1BWWhj (ORCPT ); Wed, 23 Feb 2011 17:37:39 -0500 Received: from pullcord.laptop.org ([18.85.46.20]:44153 "EHLO pullcord.laptop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754544Ab1BWWhi (ORCPT ); Wed, 23 Feb 2011 17:37:38 -0500 Received: from pullcord.laptop.org (localhost.localdomain [127.0.0.1]) by pullcord.laptop.org (8.14.4/8.14.4) with ESMTP id p1NMaUJJ028326; Wed, 23 Feb 2011 17:36:30 -0500 Received: (from cjb@localhost) by pullcord.laptop.org (8.14.4/8.14.4/Submit) id p1NMaT9u028325; Wed, 23 Feb 2011 17:36:29 -0500 From: Chris Ball To: linux-mmc@vger.kernel.org Cc: Chris Ball , Harald Welte Subject: [PATCH 3/3] mmc: via-sdmmc: Remove set-but-unused variable. Date: Wed, 23 Feb 2011 17:29:13 -0500 Message-Id: <1298500153-28081-3-git-send-email-cjb@laptop.org> X-Mailer: git-send-email 1.7.0.1 In-Reply-To: <1298500153-28081-1-git-send-email-cjb@laptop.org> References: <1298500153-28081-1-git-send-email-cjb@laptop.org> MIME-Version: 1.0 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@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]); Wed, 23 Feb 2011 22:37:39 +0000 (UTC) diff --git a/drivers/mmc/host/via-sdmmc.c b/drivers/mmc/host/via-sdmmc.c index 9ed84dd..8c5b488 100644 --- a/drivers/mmc/host/via-sdmmc.c +++ b/drivers/mmc/host/via-sdmmc.c @@ -802,12 +802,9 @@ static const struct mmc_host_ops via_sdc_ops = { static void via_reset_pcictrl(struct via_crdr_mmc_host *host) { - void __iomem *addrbase; unsigned long flags; u8 gatt; - addrbase = host->pcictrl_mmiobase; - spin_lock_irqsave(&host->lock, flags); via_save_pcictrlreg(host);