From patchwork Wed Jan 30 20:11:21 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 2069711 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 33BBF3FD56 for ; Wed, 30 Jan 2013 20:11:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755548Ab3A3UL0 (ORCPT ); Wed, 30 Jan 2013 15:11:26 -0500 Received: from moutng.kundenserver.de ([212.227.126.186]:50903 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752703Ab3A3ULZ (ORCPT ); Wed, 30 Jan 2013 15:11:25 -0500 Received: from mailbox.adnet.avionic-design.de (mailbox.avionic-design.de [109.75.18.3]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0LmgTP-1UaFnk2tqV-00Zoyb; Wed, 30 Jan 2013 21:11:23 +0100 Received: from localhost (localhost [127.0.0.1]) by mailbox.adnet.avionic-design.de (Postfix) with ESMTP id 13AF12A281EA; Wed, 30 Jan 2013 21:11:23 +0100 (CET) X-Virus-Scanned: amavisd-new at avionic-design.de Received: from mailbox.adnet.avionic-design.de ([127.0.0.1]) by localhost (mailbox.avionic-design.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jwWhI4cTetNl; Wed, 30 Jan 2013 21:11:21 +0100 (CET) Received: from mailman.adnet.avionic-design.de (mailman.adnet.avionic-design.de [172.20.31.172]) by mailbox.adnet.avionic-design.de (Postfix) with ESMTP id 986362A281D8; Wed, 30 Jan 2013 21:11:21 +0100 (CET) Received: from localhost (avionic-0098.adnet.avionic-design.de [172.20.31.233]) by mailman.adnet.avionic-design.de (Postfix) with ESMTP id DAFB5100470; Wed, 30 Jan 2013 21:11:17 +0100 (CET) From: Thierry Reding To: Chris Ball Cc: Shawn Guo , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] mmc: sdhci-esdhc-imx: Remove unused variables Date: Wed, 30 Jan 2013 21:11:21 +0100 Message-Id: <1359576681-14797-1-git-send-email-thierry.reding@avionic-design.de> X-Mailer: git-send-email 1.8.1.2 X-Provags-ID: V02:K0:chDgFi7/mlT7XEjXRvrBpPfbZ2XOALOWe/ZY4LBrd+o 6OLG5aIegjld11I4ZjVqt3PwkQJpWeFMs7ZR8F3w9EpMCV/xaP EEoyYih2B5gzeM0qtVp7/KNIKtIM501/uym/SsjK+XkNmRUkzF SNcmtc4VRGRkZIu6z7fltRD0alLhC7GJAGmgHmdGdVYyqz7/H6 TV8i9J+X6+LFZBDyBzuZ3tm7CA8Y5bvt9yTF3BA/fUkkPGX97i K/VPTrJNuAgJfWLoAEY7PgutTiuMyrSLhMV4PFRoTBIG1xtw/x 0Hgn4vpzXeoIMQfDDXEvI6tYh1mUC1KdaKog6RXX4E/SEifRJ5 1ObvYfz7R2gl2zAPAb+tbyKYLN7MhTIGOkXk8rca+0ZKZk2qO3 vrKqWJo8p3jpG1ib0P3tj+ZtsTGfg8YlJ+ZUK42v8b1JXxhrzc 8M6Sk Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org Commit 3f175a6 (mmc: sdhci-esdhc-imx: remove ESDHC_CD_GPIO handling from IO accessory) removed all the code that was using these variables, so it is safe to drop them. Signed-off-by: Thierry Reding --- drivers/mmc/host/sdhci-esdhc-imx.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c index ae68bc9..509be3a 100644 --- a/drivers/mmc/host/sdhci-esdhc-imx.c +++ b/drivers/mmc/host/sdhci-esdhc-imx.c @@ -144,10 +144,6 @@ static inline void esdhc_clrset_le(struct sdhci_host *host, u32 mask, u32 val, i static u32 esdhc_readl_le(struct sdhci_host *host, int reg) { - struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); - struct pltfm_imx_data *imx_data = pltfm_host->priv; - struct esdhc_platform_data *boarddata = &imx_data->boarddata; - u32 val = readl(host->ioaddr + reg); if (unlikely(reg == SDHCI_CAPABILITIES)) { @@ -178,7 +174,6 @@ static void esdhc_writel_le(struct sdhci_host *host, u32 val, int reg) { struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); struct pltfm_imx_data *imx_data = pltfm_host->priv; - struct esdhc_platform_data *boarddata = &imx_data->boarddata; u32 data; if (unlikely(reg == SDHCI_INT_ENABLE || reg == SDHCI_SIGNAL_ENABLE)) {