From patchwork Wed Feb 23 22:29:11 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Ball X-Patchwork-Id: 585921 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 p1NMbPQO023519 for ; Wed, 23 Feb 2011 22:37:25 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756151Ab1BWWhY (ORCPT ); Wed, 23 Feb 2011 17:37:24 -0500 Received: from pullcord.laptop.org ([18.85.46.20]:44145 "EHLO pullcord.laptop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754504Ab1BWWhY (ORCPT ); Wed, 23 Feb 2011 17:37:24 -0500 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:25 +0000 (UTC) X-Greylist: delayed 401 seconds by postgrey-1.27 at vger.kernel.org; Wed, 23 Feb 2011 17:37:23 EST Received: from pullcord.laptop.org (localhost.localdomain [127.0.0.1]) by pullcord.laptop.org (8.14.4/8.14.4) with ESMTP id p1NMTXtt028126; Wed, 23 Feb 2011 17:29:33 -0500 Received: (from cjb@localhost) by pullcord.laptop.org (8.14.4/8.14.4/Submit) id p1NMTXOM028124; Wed, 23 Feb 2011 17:29:33 -0500 From: Chris Ball To: linux-mmc@vger.kernel.org Cc: Chris Ball Subject: [PATCH 1/3] mmc: sdhci-pci: Remove set-but-unused variable. Date: Wed, 23 Feb 2011 17:29:11 -0500 Message-Id: <1298500153-28081-1-git-send-email-cjb@laptop.org> X-Mailer: git-send-email 1.7.0.1 MIME-Version: 1.0 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c index 4cb2d0e..ed2cffa 100644 --- a/drivers/mmc/host/sdhci-pci.c +++ b/drivers/mmc/host/sdhci-pci.c @@ -909,9 +909,6 @@ static struct sdhci_pci_slot * __devinit sdhci_pci_probe_slot( { struct sdhci_pci_slot *slot; struct sdhci_host *host; - - resource_size_t addr; - int ret; if (!(pci_resource_flags(pdev, bar) & IORESOURCE_MEM)) { @@ -958,7 +955,6 @@ static struct sdhci_pci_slot * __devinit sdhci_pci_probe_slot( goto free; } - addr = pci_resource_start(pdev, bar); host->ioaddr = pci_ioremap_bar(pdev, bar); if (!host->ioaddr) { dev_err(&pdev->dev, "failed to remap registers\n");