Received: by 10.192.165.148 with SMTP id m20csp575832imm; Fri, 4 May 2018 02:52:23 -0700 (PDT) X-Google-Smtp-Source: AB8JxZojQwnQ9eKGgfuZeRF8kzOORtIfZTI0tSH6+Zye84mvJ8XkLWptP8nlrbrH9LhgpXM7aLS/ X-Received: by 10.98.102.66 with SMTP id a63mr5718956pfc.162.1525427543453; Fri, 04 May 2018 02:52:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525427543; cv=none; d=google.com; s=arc-20160816; b=bKtOLAW/FT9OJ1LpWytrZCuaTj78bb4RCwwVt/GzdNv79wvva3h3mA0wCYcsuGoZEr cO3vMSWU8KVUzsene+mlmLEn8wVO4zDYom6LwkKhksOm0tZ54oQCT7D+dCzCt/hJsnah WYKixxXvUZk6Tf1cSDLjli/kHRuG1qGI7PiUhqNzkR/ET8emXAQW9kytdjmzzd1kijIr wAtG1mTISStxg3vG+/QN89zUoWEcf69iJS9or6cHwDRHmoM+2u0LmrR2UAWptCyuzoCw prg/h65mLMnWa5Oc60Vbd84P1Ja131e90PhWITfrsHPhk1epXjiPFAoFjb7G4R5qHZhe ZUCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:to:subject :arc-authentication-results; bh=YRDDVX7Ebb55wDKvufnIj0QThKzLsvnvt6k6kkcwaes=; b=uuya38oUV+H26rRF1/DLt3AlESdgSDL3GrAVebr3lesApg40i1ksGcfx2JRS238rKT 6WGhs7WSsbVt/GaXq1T4VaUNrR68DKAbGwJvpOTHZ+mavos6XgFejrQeFzVpydYFCqJc ex8EepbgLOFR84RL+4RWSgY24cQmp4iDC3fFgmzAo8ZwrifFDl6IFWREdUK55QZm+4G3 44VRKZDfACBqF4Mu4eqYyqG+DDgijLkM5OKja5/mOCSrhZJQVVaxR02Fj9Q1GFk5bjCF 1U3NuXWnazQ2l8gCR7KLbkFTq9tctXffNjznlS6lYOiQLQxshTwT8hFZtpgpJPZM26ZF B0Mg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z86si15996987pfa.120.2018.05.04.02.52.09; Fri, 04 May 2018 02:52:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751840AbeEDJwB (ORCPT + 99 others); Fri, 4 May 2018 05:52:01 -0400 Received: from mga03.intel.com ([134.134.136.65]:45569 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751269AbeEDJwA (ORCPT ); Fri, 4 May 2018 05:52:00 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 May 2018 02:51:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,362,1520924400"; d="scan'208";a="36801071" Received: from ahunter-desktop.fi.intel.com (HELO [10.237.72.168]) ([10.237.72.168]) by fmsmga007.fm.intel.com with ESMTP; 04 May 2018 02:51:57 -0700 Subject: Re: [PATCH] mmc: tegra: remove redundant return statement To: Aapo Vienamo , Ulf Hansson , Thierry Reding , Jonathan Hunter , linux-mmc@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org References: <20180504092053.GA20277@orion> From: Adrian Hunter Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki Message-ID: Date: Fri, 4 May 2018 12:50:51 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180504092053.GA20277@orion> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/05/18 12:20, Aapo Vienamo wrote: > A redundant return statement is removed from > tegra_sdhci_set_uhs_signaling(). The function returns void and the > return does not affect the control flow of the function. > > Signed-off-by: Aapo Vienamo Acked-by: Adrian Hunter > --- > drivers/mmc/host/sdhci-tegra.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mmc/host/sdhci-tegra.c b/drivers/mmc/host/sdhci-tegra.c > index b877c13184c2..970d38f68939 100644 > --- a/drivers/mmc/host/sdhci-tegra.c > +++ b/drivers/mmc/host/sdhci-tegra.c > @@ -231,7 +231,7 @@ static void tegra_sdhci_set_uhs_signaling(struct sdhci_host *host, > if (timing == MMC_TIMING_UHS_DDR50) > tegra_host->ddr_signaling = true; > > - return sdhci_set_uhs_signaling(host, timing); > + sdhci_set_uhs_signaling(host, timing); > } > > static unsigned int tegra_sdhci_get_max_clock(struct sdhci_host *host) >