Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp228249imu; Mon, 19 Nov 2018 21:22:35 -0800 (PST) X-Google-Smtp-Source: AFSGD/UnUGpKxQCKnEpBzUHydeKV5j6sEcd620mYXRcmdG1QtWSylSWIHUjbjubP1e5F9q3+qiW3 X-Received: by 2002:a17:902:24c:: with SMTP id 70-v6mr747181plc.120.1542691355417; Mon, 19 Nov 2018 21:22:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542691355; cv=none; d=google.com; s=arc-20160816; b=AV7LIktT2S35xS5HePIRyg3K/RcyXhG6nulYMgwMgAgg2ICnG/fNcQkvhz+Tnwqakr mPaLQOr7geyvdH9MwkbDcXEMh8RaTBglmgei3jYddBkHUnQuxOBvxGQU6LS2i9Q7x9ZO saa5f9AWI/qe/XP4cb4zd+CmeZaTSPZF20EaPD3Nm9d6Xn1QuEqESoep709NE3mvOFBl 2SEGhSabNerW7PIsa4y+jPz7HB7z5a8/tfZ0m3zEGN2QFzoDs8mUJe5mgf7HstuYJjM9 4oGrmm1mxceT3loOb+p3OYlBqDlyHal2Xk/qluNeSLYfOdL3fhzZUD1NfAvTziWWD2JA jhOA== 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:from:references:cc:to:subject:dkim-signature; bh=2lYP/uwTyofxAigNwqbEnbUqFVpELfXDw0JzvlX0RW4=; b=Ih4jNEzSB2y8oPZf1ositJUbRhaBJBB3c0flwHOUOnyQYa9WIJ6DkVGSaydkd6ePx1 04+DsvXLstB3q57gq2VlPH7gKYeEgQvnHQ17kccEtyfkAO/FvZYw69/3z+AsRR2oqGoE zjDSXFHxmBsVeecQTJ4hGSXqsQnGBLUFdgIrgGOiARl/o5Egou74p6WVF2COMruMIzsY 767rqWHYIIBSeD+LxQFtmbG6/+5vD93T+PA1ya0R0uBiQxVOd+zF1ys85xSvyYBx7rLu NY+FWSSVuxlczC1n/mVYRDxuEj2+FvCvn7rYJPnXlv1qOGMS48EZ9jz/Z/MPqO9dJ7OS BEmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=QllP5UGd; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f22si31343166pgm.81.2018.11.19.21.22.20; Mon, 19 Nov 2018 21:22:35 -0800 (PST) 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=@ti.com header.s=ti-com-17Q1 header.b=QllP5UGd; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731410AbeKTP2w (ORCPT + 99 others); Tue, 20 Nov 2018 10:28:52 -0500 Received: from lelv0143.ext.ti.com ([198.47.23.248]:53728 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727880AbeKTP2w (ORCPT ); Tue, 20 Nov 2018 10:28:52 -0500 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id wAK51eWB122113; Mon, 19 Nov 2018 23:01:40 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1542690100; bh=2lYP/uwTyofxAigNwqbEnbUqFVpELfXDw0JzvlX0RW4=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=QllP5UGdd3Lbe1QXSiI9Bks6yJzVJC593PmYXddNK9+osy4cGWRNzikhlAFa6y6ON XYezQxoUWnIAKV283PsPMwiJhZENqduwTo3GQXHVbqOlfU2FTiTIY1jAMxYSvDL095 2zZNwmfN/GB9JHib0U+nNoCr6j1fgcb9T2ZhdV30= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id wAK51e2u052036 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 19 Nov 2018 23:01:40 -0600 Received: from DFLE107.ent.ti.com (10.64.6.28) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Mon, 19 Nov 2018 23:01:40 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Mon, 19 Nov 2018 23:01:40 -0600 Received: from [172.24.190.233] (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id wAK51blZ016971; Mon, 19 Nov 2018 23:01:38 -0600 Subject: Re: [PATCH 4/4] mmc: sdhci-omap: Remove redundant structure assignments To: Faiz Abbas , , CC: , References: <20181119111618.2745-1-faiz_abbas@ti.com> <20181119111618.2745-5-faiz_abbas@ti.com> From: Kishon Vijay Abraham I Message-ID: Date: Tue, 20 Nov 2018 10:31:35 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20181119111618.2745-5-faiz_abbas@ti.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 19/11/18 4:46 PM, Faiz Abbas wrote: > The sdhci_execute_tuning() function has assignment of > private pointers multiple times. Remove the redundant assignment. > > Signed-off-by: Faiz Abbas Acked-by: Kishon Vijay Abraham I > --- > drivers/mmc/host/sdhci-omap.c | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/drivers/mmc/host/sdhci-omap.c b/drivers/mmc/host/sdhci-omap.c > index bf268b38ddc8..b3cb39d0db6f 100644 > --- a/drivers/mmc/host/sdhci-omap.c > +++ b/drivers/mmc/host/sdhci-omap.c > @@ -295,10 +295,6 @@ static int sdhci_omap_execute_tuning(struct mmc_host *mmc, u32 opcode) > int ret = 0; > u32 reg; > > - pltfm_host = sdhci_priv(host); > - omap_host = sdhci_pltfm_priv(pltfm_host); > - dev = omap_host->dev; > - > /* clock tuning is not needed for upto 52MHz */ > if (ios->clock <= 52000000) > return 0; >