Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2845796lqp; Mon, 25 Mar 2024 10:50:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU2AxHVsNxQpJb56C+6ar9y3MAq0Ybt+v+Yk+hkM5l6p0uf0qD4JO7Stygq4gCN0HinxjyIrNo9Y4pHcw3T4KdtGHxXOmZaDzduy546/w== X-Google-Smtp-Source: AGHT+IFgzH/fiWRCIhkvdzJ1hk0x2K7Sw+DmETNFyjIEtG3VNM558cW/Qh2KYI8/IH9UYHnUxsbH X-Received: by 2002:a05:6a20:3d8a:b0:1a3:a99c:cd4d with SMTP id s10-20020a056a203d8a00b001a3a99ccd4dmr10787537pzi.48.1711389020344; Mon, 25 Mar 2024 10:50:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711389020; cv=pass; d=google.com; s=arc-20160816; b=f88iiEqe0ptpDmx79UVnGCl1TcoitV5rWXwk+l8S0MSJnydLwmLLoQi/skopQn0RDx mZ9lPfcYTDvmYCnyHA/6x/KiEUbNozfEEgL3LgtCiyyYmNyhHQG7PnKD2bAChy6YkKXC ILo9DjIDYxQ3pNcbC3RkE9QBgVgNk08zUPPiFhDdAMqx4jojHDcTOjgCxjsIQpXqv80M oyXGFM+HO1HVg8jLotb9mRmAr3IbuuvVfKKoqMdHG+WvXqf0kvlhHo/znI4P3TJc3S0/ 79JjQT+E3VpciBsmys3zjMq/abwhjE74hw4cF/mn/fAmgyQPrjP2zsdq0G5fvdPePmtP ZpVw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:cc:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=KzXNNjeSgS5ZvXTIwYhL6yuOxBIR6LRWxOMEBFFR/tE=; fh=yhMUL5arSjLSuIkbrOreMSU+0dEkuCZHsebbhwg5BCQ=; b=WqYp6IKpFWcGAVDTZSapTpRp+2x0bK10/BjrXjQwNUTwSqi9VTRmb1mrDzdWYat54k 8zozJOzrcuJm2XxpE8WEUmUpa9B+fakA8oanYW0fFnK7f5QNsL0t7cmAq9Xwdw6NLJrN JlUnnA3/T5VVt4041dWM0fDsyrXA+y4eqxNdsXtfhWtyMuMcvBLbN8aJfr9XHlxy0hMX uU8tg7kPtl5aF4c0yReBneLODboGWbPP3rpEIbbpiB2OUfVIyMqf0AZHPZuYDb6bV2Jm 3qhGdQUuoWoO8lrECI3e/HzXC05GmwYVe8pKKaUbkuj4cpQ6piYoqdFX1gE+y5lj4SfM UJPw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=L1XJVgXc; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-116612-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-116612-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id m26-20020aa78a1a000000b006ea6d65ec89si5208716pfa.168.2024.03.25.10.50.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 10:50:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-116612-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=L1XJVgXc; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-116612-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-116612-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 9FEA3BC6CE3 for ; Mon, 25 Mar 2024 13:11:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7476D17164E; Mon, 25 Mar 2024 09:10:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="L1XJVgXc" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3CDC417CF43; Mon, 25 Mar 2024 07:06:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711350379; cv=none; b=sG/CjJJTUmpMf/YuA1och0dqluAlEXIq3PQazRvp3b27ExVBHAh5cfsm96Lr3de/YtOFUWWv5UiDVLTwEdOmY0QDCwJ6XHBbRnAYz1x5AUUbyihjbD5uYIcVSBlRueLN3QbpYT6dptgeOKwgh8l/GaWQQqyaNpwq/k2iJfK4GY4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711350379; c=relaxed/simple; bh=UnJmAUKiIFvvVzhuuUMdBwmvWI6nUYnN1WCwaHaXsA4=; h=Message-ID:Date:MIME-Version:Cc:Subject:To:References:From: In-Reply-To:Content-Type; b=SZOiItpRFNUvU0xIS3F1HTgrE9JrR7LeGWjw8lKXWXpxyGaapzfOFKrqTQ/kO+g1BVdTTySeAmTgz6bLMQ7pKHTvM5BUK2XTSKYwUnVqNyU0mEBLgubdL4buWbZwUS3pqXTG5LlVuMwWgKmpRBzIMcSk/elrcgwd1PJm+Vi/bPc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=L1XJVgXc; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1711350376; bh=UnJmAUKiIFvvVzhuuUMdBwmvWI6nUYnN1WCwaHaXsA4=; h=Date:Cc:Subject:To:References:From:In-Reply-To:From; b=L1XJVgXcQwyzjXISr825txTYD/1dy/5wMMxehWso27qqqzC/sJfbNuR56ImLLRS99 bpIlhWyI8g7udgyzfyIWfj3IrujDQgzxVweZnxMz1L3+QTkYC9x3KoWzshAwmpfZzf kFWH560IRrMxuG4qxMy5mdHRC3urdhNOP9nHkW/0eiEQX0r89lrAwLJ7wOwm65EnZG AYnsB96Ay1kRZN/GAiWi25GEOvm8hJpgFvLrHJColMm6dn/aHJUcsU/5kqk0IhPPWH 3PBJP9KETwdoh3lTlmA3BfQ+ZtP3+EVEg8HVfICSbtpFkSwQL2Q0wMl7s0zQVBCXDk H+Quzt4Z9deAw== Received: from [10.193.1.1] (broslavsky.collaboradmins.com [68.183.210.73]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: usama.anjum) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 8A4A2378148F; Mon, 25 Mar 2024 07:06:12 +0000 (UTC) Message-ID: Date: Mon, 25 Mar 2024 12:06:47 +0500 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Cc: Muhammad Usama Anjum , kernel@collabora.com, kernel-janitors@vger.kernel.org, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mmc: dw_mmc: remove unneeded assignment Content-Language: en-US To: Jaehoon Chung , Ulf Hansson , Yang Xiwen References: <20240307122129.2359553-1-usama.anjum@collabora.com> From: Muhammad Usama Anjum In-Reply-To: <20240307122129.2359553-1-usama.anjum@collabora.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Soft reminder On 3/7/24 5:21 PM, 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") > Signed-off-by: Muhammad Usama Anjum > --- > 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: -- BR, Muhammad Usama Anjum