From patchwork Tue Sep 1 14:19:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 11748315 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 8E716138A for ; Tue, 1 Sep 2020 14:20:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 70059206EB for ; Tue, 1 Sep 2020 14:20:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b="3D10v/wj" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726946AbgIAOUe (ORCPT ); Tue, 1 Sep 2020 10:20:34 -0400 Received: from www.zeus03.de ([194.117.254.33]:60670 "EHLO mail.zeus03.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728067AbgIAOTj (ORCPT ); Tue, 1 Sep 2020 10:19:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=sang-engineering.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=k1; bh=VPrLFKONLizrTcy8SwQKaluVrDN G6FFHnaccsuoDN5c=; b=3D10v/wjr2O4p9lGD7AoEc6tM4/fzYTNxcSnQCdayh0 p7sAHVLWwyn0jg3uXPshHy70d9kNy93Si55dbO85pZWv56sQF98KP4HVWcB1064P dAYvcnY4tMfMyaCVakndgndmUlWQXuJP5G1fPm9LnBHSifL2a7BU5KcYokDC46Ks = Received: (qmail 2543495 invoked from network); 1 Sep 2020 16:19:37 +0200 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 1 Sep 2020 16:19:37 +0200 X-UD-Smtp-Session: l3s3148p1@YJyDNUGuLowgAwDPXxBIAL7SzoTwUEK2 From: Wolfram Sang To: linux-mmc@vger.kernel.org Cc: Wolfram Sang Subject: [PATCH] mmc: core: simplify an expression Date: Tue, 1 Sep 2020 16:19:31 +0200 Message-Id: <20200901141931.25357-1-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org We already have 'host' as a variable, so use it. Signed-off-by: Wolfram Sang --- drivers/mmc/core/mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c index 6b3056437b37..6794eb142f05 100644 --- a/drivers/mmc/core/mmc.c +++ b/drivers/mmc/core/mmc.c @@ -1173,7 +1173,7 @@ static int mmc_select_hs400(struct mmc_card *card) host->ops->hs400_downgrade(host); /* Set host controller to HS timing */ - mmc_set_timing(card->host, MMC_TIMING_MMC_HS); + mmc_set_timing(host, MMC_TIMING_MMC_HS); /* Reduce frequency to HS frequency */ max_dtr = card->ext_csd.hs_max_dtr;