Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2780193lqp; Mon, 25 Mar 2024 09:02:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWo+wYowl2p+OC6yHtCyntN4wE2j8ALM0KI6usq3ebFYFAul++b6mdEyFUqNq6nzHm996fJYRS9sYYmhCM/NQHK345fxt3TymBn6I3ckw== X-Google-Smtp-Source: AGHT+IHnxLZXU8NWUPJUR5oHBybDFwNqfiq2/1iRHufrwIRu4TeztyJ2ycEQdCXqngF64q66/dra X-Received: by 2002:a50:d71e:0:b0:568:29f8:1d79 with SMTP id t30-20020a50d71e000000b0056829f81d79mr6027011edi.38.1711382554825; Mon, 25 Mar 2024 09:02:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711382554; cv=pass; d=google.com; s=arc-20160816; b=GrUELuVQp/tUtTscAtKS6+n9VgMv/e32HnI4NOlxpEPNgp1+PtNDBj61SRf9DI5wBe zXp8SAFkUL2ZIbniFO6N+OmSstNir7bgKoccXTOoH8J/KF9ggo00ox65T7SuED0aiBB1 RCKChPzJf6SWb/JdejP6Efz+1K72Wnsr061jqzY4sEHFkThS0tp73pfJlu8E3h4pGNGB uGecKIEYpD2K7ydAFZEOXeEfoRCOzitmaSoL4lOmrg8mbMw3sskaSj4Ss37qVewmiEOM HCLjfgwjal2I6AgIAMN5uDsHMYIw90ySgRYQySRdX9KyseAPSYP6IgQXce4zLspDBKM3 2mFA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=7uWWEosiNkhyTUXt6it9vKWgUnpfWnt4Y8zWTzw+zh8=; fh=Xz3TzayotLABCUWYRN5t+52fKIoOUeSy2mDBIfYPink=; b=gX9RIf91Smxty04jY8Swnlz47gNHk65REuMd0qd2z2FAdY0diolAlUk4R0vwTx8QO3 bJO/gu9d/Q4CSu2tqDxSmL+siydpE3wObuqs80id7x5mY6QR0SVcARZk30tJHbXJm7Yp 9Gdy/z7IhG1nPWg5WRxlrodVf0dR7WYyWDIrNY7RECY24w9nP7QRq/ZnHXOunjF9Z/XL B6La8E83XrlXKZZcBP5RvMdRn6BB0kokYIWhj392z6GlXVLNnPBEkMQgjco+s+3AHQqU 1RuBPWf/XnphbbCEthV/Z+lfdoaOU2jdc7gANHHkCoFc+HGwB1HSyW9DMwLbSkVZE2qr dh+Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HB7HxWMB; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-117131-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117131-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id v20-20020a509554000000b00568c3dbfdbdsi2684723eda.585.2024.03.25.09.02.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 09:02:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-117131-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HB7HxWMB; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-117131-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117131-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id DFFF31F66F6E for ; Mon, 25 Mar 2024 15:52:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0DDFC13B7AC; Mon, 25 Mar 2024 13:19:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="HB7HxWMB" Received: from mail-yb1-f174.google.com (mail-yb1-f174.google.com [209.85.219.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C0AF2173340 for ; Mon, 25 Mar 2024 13:19:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711372758; cv=none; b=adgfm0wsT64cH3T2/jHcwfj9OI/mfLrxRQiYFphk7KkNuWnmtGrhhZl/Jr8pFb4Tjc9IPxnKSpI+N9ZqIM4zGce3tqUJOTMFIZWi5ELbOtrjtBCEYu5h/ZfPOd7075jW57b5VrDRmQRqudRvzA7IL6p2fcaGCa2tX5NpTY5/mWU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711372758; c=relaxed/simple; bh=94oaHfW8q3kkUiIIR/cmjM+I50aKVNB68akJ1g1OjWo=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=cSx8j8csyDYvcTDHqbJz4kTE+AEPIeZ5Fp8uUR1jODiPhha2NDhITKbwbgQJj77e322tijNmU+kLDuwiOi3KEw0gaI8RfmIdP31+nxRjHOmNDrEjLFUyQsfHEWns5FbVllTxxoKvH4+hvAyOrNZQtDNMd/sXodyyiGb+tLewwRA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=HB7HxWMB; arc=none smtp.client-ip=209.85.219.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yb1-f174.google.com with SMTP id 3f1490d57ef6-dc6cbe1ac75so3341982276.1 for ; Mon, 25 Mar 2024 06:19:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711372756; x=1711977556; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=7uWWEosiNkhyTUXt6it9vKWgUnpfWnt4Y8zWTzw+zh8=; b=HB7HxWMBFxrRfiWdRnyd8CJb3LruIXC1B7VQjMgfpsfXAizYZRWe58lqmYZFcTUIxs P39tIC7AE0Sv4HTS5n3k7vD8xfn3FsxwHvOn4TWW/Tc1dacMnVvuTLTe6Wpsu2quBM9t OZOulXIf/yxjUXBmiSz61vdfdpk5VbwEL41pMNn8S5sr84jAb9vdC7xlM7NXlhXretr6 w7XmlHQUptWcgR03sNF94qO/u/+yFC1BQqmS6tacBl6r5bprsTh8kU3cm6yegVhzlOr4 KcRzysrhkvzEXD/BWyNHQJlDtvPTugbCsIztgRnUb9sQENkk2RwmXqY3W3R2uK8gF0Sl yb2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711372756; x=1711977556; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=7uWWEosiNkhyTUXt6it9vKWgUnpfWnt4Y8zWTzw+zh8=; b=mRxeJenskXyIgRDErsm0JU6scv7M9MWQWJ8OX9ZKMBwEAL1dsrq8ghxV+s1Qou5nN4 BR98UjsEcUadao2LrhssJvW9B8nxhtpBZxlEHSxle4EZIY2HJp2d6bXeYKXZk17iJT0L ABfTmjjA6EeNIp5rwp/U5mo1H31ZNyIWTMqESh0brA5Lt4jwW6RVQlLDhHuDI0IBR6L4 F0/gJ+OjDcASQpUz20eKiDw2HEvJua3cej2KUBoHvKh7m4zH3wmaJEEWh5/wO0RZUhx3 kKp4zvgcYijqh0jHCPWRBOIVLUVyd6yZ5IgjSRViiMQReEAV+42i1wg74mTGYPnzav3O GPgw== X-Forwarded-Encrypted: i=1; AJvYcCXiD+vCe+RaFmyN5aJUNoATJavpCeDkl+zcsvTXmVpI4aR8YdELS3jut8r4bAb8wtCG3sOoa8zWKo63+WcO+Vj9fZcSiAhr9lT462kD X-Gm-Message-State: AOJu0YzoDKLIcEQOmyJIBp/RNjtl2Seh1itnJh2ZoWjtX8UwKucblZ14 ClmeoWUGrDWaW9H4AxXJvpZyIlSmr1Xl0Crs2qfpOJKuXVQIzLWojuNZvjFBdTv/X2A2S78ki24 ZyPd3Wvd4KjfHDvYpCCfUaUGBUngAye2hRUDHdw== X-Received: by 2002:a25:144:0:b0:dcc:97c:5754 with SMTP id 65-20020a250144000000b00dcc097c5754mr3015583ybb.5.1711372755810; Mon, 25 Mar 2024 06:19:15 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240307122129.2359553-1-usama.anjum@collabora.com> In-Reply-To: <20240307122129.2359553-1-usama.anjum@collabora.com> From: Ulf Hansson Date: Mon, 25 Mar 2024 14:18:40 +0100 Message-ID: Subject: Re: [PATCH] mmc: dw_mmc: remove unneeded assignment To: Muhammad Usama Anjum Cc: Jaehoon Chung , Yang Xiwen , kernel@collabora.com, kernel-janitors@vger.kernel.org, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" On Thu, 7 Mar 2024 at 13:21, Muhammad Usama Anjum wrote: > > The err is being set to 0 and replaced every time after this > assignment. Remove this assignment as it is extraneous. > > Fixes: 25d043841db1 ("mmc: dw_mmc: add support for hi3798mv200") Again, this isn't needed I think, so I have dropped it. > Signed-off-by: Muhammad Usama Anjum Applied for next and by amending the commit message prefix to "mmc: dw_mmc-hi3798mv200", thanks! Kind regards Uffe > --- > drivers/mmc/host/dw_mmc-hi3798mv200.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/mmc/host/dw_mmc-hi3798mv200.c b/drivers/mmc/host/dw_mmc-hi3798mv200.c > index 989ae8dda7228..96af693e3e37c 100644 > --- a/drivers/mmc/host/dw_mmc-hi3798mv200.c > +++ b/drivers/mmc/host/dw_mmc-hi3798mv200.c > @@ -133,7 +133,6 @@ static int dw_mci_hi3798mv200_execute_tuning_mix_mode(struct dw_mci_slot *slot, > goto tuning_out; > > prev_err = err; > - err = 0; > } > > tuning_out: > -- > 2.39.2 >