Received: by 10.192.165.148 with SMTP id m20csp555939imm; Fri, 4 May 2018 02:27:58 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp2PBUMFpA/7v/so6RTQvNSmpleRzL4kd+8rNmZr7+zZ3DKm0s2n8srm/pa/nGaNCb8BNy8 X-Received: by 2002:a17:902:9303:: with SMTP id bc3-v6mr27006477plb.18.1525426077969; Fri, 04 May 2018 02:27:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525426077; cv=none; d=google.com; s=arc-20160816; b=uoU0bgyeOLMVs/KNXmvxzZMsZqWIHttflhC2T+bEgPCDM4j9GgIN9LwSQhYjgxO6w0 c9Xpi4fpRpvhexuZyg0NErwK9LgxVEOqendViMA1Fp+5qhRosMZ/5czZhWH2yPfGW/cN mXft2cRs7/fTNBjy/x9oquSUsGaqn6Niezx/kXZvlpA2flMxgOtO3IZ+JFUUlFDYLzu5 2PfyM4HQe0VfJ7zB2H4fTIeB/3+LNAa6hnrbLgjh0RRTX+4wj9eH9Vl/BxkwCqi/OLSL ttEGN2x86jgWruV0zJP52kPCUcwfoUqKNsgdxTh0EuvH4Ao774FbLoHVBOjSmRl5a8eh osBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=ec7H+C/g4ItE0mQ0mqaQ/gsugKhst/QbHjj4NAs0w4w=; b=0qJqZfQ4uC1+s+RfcUG9jlIX7oG590YHVoH3bUtp3+stXYSRt/jHj1oQiX7DTM5uJC PYQO9SYqGfn57LMrouGk/6xjK/2um6+8ojyRdCZ2c9wa4s/anPv00mRmEXSk6GWIObLU AV1lVfIj07bbtNWqVJklFGcU20umcSoYwdN4M+CBFFJrNORb/xPAUkZkJapGub8W9+Vv FkfAQT+pajC64n1DTuKM6Y1d/1gmrFPvmCtbhvuD7D63a8+U2rpV/psIzTLGida08PiA mUhYtnlDgxHnHin7tznvJh6nZEGYiYuN8Blv+1jQg4RoExvd6LBKy1FjQGCNyvDnYVjg EzYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZKV28hXW; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u17-v6si15671804plj.182.2018.05.04.02.27.42; Fri, 04 May 2018 02:27:57 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZKV28hXW; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751713AbeEDJ1W (ORCPT + 99 others); Fri, 4 May 2018 05:27:22 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:37713 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751591AbeEDJ1U (ORCPT ); Fri, 4 May 2018 05:27:20 -0400 Received: by mail-wm0-f68.google.com with SMTP id l1-v6so3517068wmb.2; Fri, 04 May 2018 02:27:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=ec7H+C/g4ItE0mQ0mqaQ/gsugKhst/QbHjj4NAs0w4w=; b=ZKV28hXW/T18gL++JTRKKgPiCuhzLVxRBJaywKVTEqrUmBEMCMW+2EPE6zfsL+EJ0y s5gw88JVc+zRoLX2BTm0B6wAptre1ndzoX2YLVtXxC2j7qMZTMa44voi/Mw1+nIAR4Si g+epJMi7oAu2yco5XutORXIlMvvpcjdn8lDuI/G24xlsCmQ4MVZ9BK8XORopOoGHyD+A 0wZQIPrlkBYH5x80/N0Y089aH5MZzWRvxVa/CoFrydMHitkhX2xgDz+wjZ0IiyOwZE0B CoZCaZ6m9m89YosbWgN2wjzI4FMqH0by1cmjM5mjndRUykhJYbiTaiLgDcwqrwURFwUF mgIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=ec7H+C/g4ItE0mQ0mqaQ/gsugKhst/QbHjj4NAs0w4w=; b=h0mN8YvszBeHH9MGGJAn2Zp4SAVNhX+Q0A9PGJJWKgmXB1ntIznDK04RriLd4I0SFI sDVTYHYWvswqQTD6sm4H0MIxwjZeU7hAUHMs8/7OzzNV4bmH6iyEWiljVrAV/TT9S3T5 zYHMYXIjD5rpc1Qc7Q94k9npEYJ+uqYCgdXx56ErWB2LE7FI49pn+lw8UHDt6nwKeUMd zvED2ZQ89/HcBq3+gtXCMq80MwOXOBCQYznCfNlbxzTCpa7UeYOe7fFbrXEhS36+4kW5 7mUfC1yyEyDZh3ELrGdtb4AiHW/09A+/SY9mP6dBbIOtKMBzUcRbS7PnPsw1E04SWbbP OAMA== X-Gm-Message-State: ALQs6tAeJt1tFdZGgaUhGNIlrLCEUWV0W2hi0DZ9oXJRSrUSeI1xjUaK EGXe5mXkuRphQAz70VFoWaQ= X-Received: by 10.28.135.212 with SMTP id j203mr16386768wmd.119.1525426038692; Fri, 04 May 2018 02:27:18 -0700 (PDT) Received: from localhost (p200300E41F041C0032947E635CB49D15.dip0.t-ipconnect.de. [2003:e4:1f04:1c00:3294:7e63:5cb4:9d15]) by smtp.gmail.com with ESMTPSA id 16-v6sm26136866wrt.20.2018.05.04.02.27.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 04 May 2018 02:27:18 -0700 (PDT) Date: Fri, 4 May 2018 11:27:16 +0200 From: Thierry Reding To: Aapo Vienamo Cc: Adrian Hunter , Ulf Hansson , Jonathan Hunter , linux-mmc@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mmc: tegra: remove redundant return statement Message-ID: <20180504092716.GA13459@ulmo> References: <20180504092053.GA20277@orion> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ZPt4rx8FFjLCG7dd" Content-Disposition: inline In-Reply-To: <20180504092053.GA20277@orion> User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ZPt4rx8FFjLCG7dd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 04, 2018 at 12:20:53PM +0300, 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. >=20 > Signed-off-by: Aapo Vienamo > --- > drivers/mmc/host/sdhci-tegra.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/mmc/host/sdhci-tegra.c b/drivers/mmc/host/sdhci-tegr= a.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 sdhc= i_host *host, > if (timing =3D=3D MMC_TIMING_UHS_DDR50) > tegra_host->ddr_signaling =3D true; > =20 > - return sdhci_set_uhs_signaling(host, timing); > + sdhci_set_uhs_signaling(host, timing); > } > =20 > static unsigned int tegra_sdhci_get_max_clock(struct sdhci_host *host) Good catch! Acked-by: Thierry Reding --ZPt4rx8FFjLCG7dd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAlrsJ3EACgkQ3SOs138+ s6EWqRAAg1ponv3piQ857cxYBQQbZK32PMk75V3QJweCt1oq8eDdM2YhRvljDFJJ jkXFhAqBUyeH5Yq6nkfbfnKkV0EqPHrS9YTzwssmiQCZYP5geEtYy+UcNzV75PBD NnEqt5eG8aWsZd+HvBscFyPU6tlEFFxXWNRKFHkAOVOi/RTEeQhmuZHG46FlyT5C GGa/KowfdWp+zNGwSVM+IAdiETfWuH6nqVxtfcANXJP00qJ1thP3zoOl7JDHNCUA oQ3rRopy5Gd8IYvKJRNDxrZqhti7iK1V1Oklu4ixBiKvxAxzHIu8JdHP/vJcvoDY Dr/cfbCzGij3ILkqwrDkmlYgYhL1nICAiZrimo2EED3tGOLSaPXo3vb0mNDoWJKy TeNzghkTwWdvveEeS1S1BPFxw2Fp9+4eqwOaOCrTCf4PXN16CrHbuJK7U/L2+sCm uk13lrkXKFTXS8GUXktZSHIx7ojFuLE6pFr/fumjgV0ZhfuFzgxspGVBq9244fii uFkQaJtYmbsOpT9EcVBSbBn0CxJEMsjcuzk2zlDroRc4ZNM89L4uqOwp6SubAyZD QFLH5ipoBhJdKmJ0qoJGR/RUXq614fCjU7OWOhq4nvSIABBJUP5jLhwc/Uav0zA8 gHVBb6MTGku22iq6Mhbz2TcINmKnYky4UTZr4B/nL1AISnBhLQA= =/CUS -----END PGP SIGNATURE----- --ZPt4rx8FFjLCG7dd--