From patchwork Sun Apr 12 09:03:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Hunter X-Patchwork-Id: 11484475 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2DF8081 for ; Sun, 12 Apr 2020 09:04:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0F9AE20709 for ; Sun, 12 Apr 2020 09:04:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726139AbgDLJEn (ORCPT ); Sun, 12 Apr 2020 05:04:43 -0400 Received: from mga12.intel.com ([192.55.52.136]:20973 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725832AbgDLJEm (ORCPT ); Sun, 12 Apr 2020 05:04:42 -0400 IronPort-SDR: ynyXstpmW0s+NSK+cBsbAz5gEQ0+T90YUoDXZMSq8j6eXBzUGew3e4LVjWonrGKBSM3uDO44Vv qReqBOR/Ix1w== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Apr 2020 02:04:43 -0700 IronPort-SDR: ljuvzZBHqzw2PRbqiNqzqjAZB+NWwBa7BjkuGsyvUQFDNWu3upAi3BuCM2WBnYafPKe2WmM0j0 9iBxKscFe57A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,374,1580803200"; d="scan'208";a="362835163" Received: from ahunter-desktop.fi.intel.com ([10.237.72.87]) by fmsmga001.fm.intel.com with ESMTP; 12 Apr 2020 02:04:41 -0700 From: Adrian Hunter To: Ulf Hansson , Baolin Wang Cc: linux-mmc Subject: [PATCH 3/5] mmc: sdhci: Remove unneeded forward declaration of sdhci_finish_data() Date: Sun, 12 Apr 2020 12:03:47 +0300 Message-Id: <20200412090349.1607-4-adrian.hunter@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200412090349.1607-1-adrian.hunter@intel.com> References: <20200412090349.1607-1-adrian.hunter@intel.com> Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org sdhci_finish_data() is defined before it is referenced, so forward declaration is not necessary. Signed-off-by: Adrian Hunter --- drivers/mmc/host/sdhci.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 429e5b80f2fb..27be2152553f 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c @@ -48,8 +48,6 @@ static unsigned int debug_quirks = 0; static unsigned int debug_quirks2; -static void sdhci_finish_data(struct sdhci_host *); - static void sdhci_enable_preset_value(struct sdhci_host *host, bool enable); static void sdhci_send_command(struct sdhci_host *host, struct mmc_command *cmd);