Received: by 10.192.165.148 with SMTP id m20csp551087imm; Fri, 4 May 2018 02:21:36 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrheN5S3VXGNI0vYasPSH+Vvv7zfmiXKr/WrvVMkZMOFAtdSlXkU9YKrZCK4e14Id0zxOdJ X-Received: by 2002:a17:902:74c6:: with SMTP id f6-v6mr13251508plt.7.1525425696039; Fri, 04 May 2018 02:21:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525425695; cv=none; d=google.com; s=arc-20160816; b=ej5tQ52kOyvzIK3gW5Ru+GAYGK/wROQEfuQlNKyrrjo+KJgMKfRev8ND1Jy6rWEae6 s568KdSKrr6sHzjp74SVRbIKY8x36Vnj5iQ1WzS8Zyd04+eTB0JKN/srPLXVbI9aiZdc RhgRMGF7rxPCHzzddO92VwdD8bs+uyr8Fh2MMFswcw79jomD/pGraWBHm1KpvhQacePX +8je5/is41yaFit8T4tpq3sZTupZTZ1RdXJParGansn3Fn1G8CzIkRG+fBBX9eSmbODa KfOBjJxCGYi43z2wZDesfSUyu853DgnJPSSVUHMArajN/+0KyX7bFQnWhXXrtq0m8RpU /kRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:to:from:date:dkim-signature :arc-authentication-results; bh=5ZKLC/oIZWFecwbqpjXwbCq8iMHMzro99xNGlPDfn0w=; b=xM7lJwJVUMXgT9XQDM3EatTq/369ISTo7PYc8MefsYcNltEq1TdiTNJYWKaBc2Kmi3 A0pk/G2B5iH3fSfg0YNtXl8g7SGDYERdJQgIT1qgx4j1xhkxE9PEk9DHjc5YPeBrefs1 b4d6VI8xglYsBh2oZtiMavyhdy7PLAeFoI0ZiT04Qn2DJz7CeE1VW2ACbqzeIkIkOFPH m3wcXiQF7NKX66Vel4zBgDpEy73vRgLzPHvPgLQRdwNl1emL+1ylIuJArceRxVoHbBNL G9vY4TPl632XP/SWL8mAQc/QsQo3vtweAP/VWSBboPxLHneejMUjK9MXN7VWMm7lPWDI aN0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kapsi.fi header.s=20161220 header.b=E28D7F48; 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 m37-v6si15565535pla.346.2018.05.04.02.21.21; Fri, 04 May 2018 02:21:35 -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=@kapsi.fi header.s=20161220 header.b=E28D7F48; 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 S1751404AbeEDJVK (ORCPT + 99 others); Fri, 4 May 2018 05:21:10 -0400 Received: from mail.kapsi.fi ([91.232.154.25]:59489 "EHLO mail.kapsi.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751124AbeEDJVI (ORCPT ); Fri, 4 May 2018 05:21:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kapsi.fi; s=20161220; h=Content-Type:MIME-Version:Message-ID:Subject:To:From:Date; bh=5ZKLC/oIZWFecwbqpjXwbCq8iMHMzro99xNGlPDfn0w=; b=E28D7F48NeToQI0YmnbbPREKVvhDMyj+HjV0drCqBz3ekNW6tdV9Dw9lAzFmrLf9qCFrIWFqQK227t4A1VUIWbrl1SOqwAcqd09swSExuKddo9mwYxJoyfmn836OUgl9xQX+3s4TCFRC3OZzmxn6ip0z27xyw5tfED/cK1NeNCcAHYzU0dnO2Hsxftx8Db+TcvlFScXIDFt9FNIzSzAxlQ4ITvnPUHnyLt1IgntFPmLLoNY38NbfROc/sLNyHX+JjCGdwbsmN13Eqy1/BEHJt6WvPA8rfs4IhxeKpVUmparlQoJ9wJdKrcdbiGpahwAwnWHQlMNNosyoqrcegUmHZA==; Received: from [2001:708:30:1450:fc8b:6ffb:95c6:39ee] (helo=localhost) by mail.kapsi.fi with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1fEWtZ-00061T-Jg; Fri, 04 May 2018 12:20:53 +0300 Date: Fri, 4 May 2018 12:20:53 +0300 From: Aapo Vienamo To: Adrian Hunter , Ulf Hansson , Thierry Reding , Jonathan Hunter , linux-mmc@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] mmc: tegra: remove redundant return statement Message-ID: <20180504092053.GA20277@orion> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) X-SA-Exim-Connect-IP: 2001:708:30:1450:fc8b:6ffb:95c6:39ee X-SA-Exim-Mail-From: aapo.vienamo@iki.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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) -- 2.16.1