Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2668211lqp; Mon, 25 Mar 2024 06:12:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUBV9CUFdb8jU7xmBNHx1VmxGWFXqg2nsUlWgpVHny9Jaivdp1WEHqnARY8I8Inf7dSdDx9DjfHgeHJ+0K4NLR/1/I0AAmFSQmzvdpSbQ== X-Google-Smtp-Source: AGHT+IF0RuXL6aBxrOkk2HDAJ5DAUfpFKxmfZlvcJyM471Zy2H7YaceABoIzcYmQ6UVcShW42qj7 X-Received: by 2002:a05:6870:5693:b0:222:12dc:8af7 with SMTP id p19-20020a056870569300b0022212dc8af7mr7615557oao.59.1711372360091; Mon, 25 Mar 2024 06:12:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711372360; cv=pass; d=google.com; s=arc-20160816; b=X8lFx3y4+YjlEf88xCLVP4dF+aqL+1fLA3IIME/edtVfmCF1nj0D6B3tXe1KhkxXIP jdSrGiz/llXTzjmfVzR2DKVeBF+W85P4ixIjEVKZAGFKKBqrI6ylDKLytwG66x7vF93P 3DhvgsgQrrvaeo6qwKOFOPzptgaTKSuhMGGZUCa12kMYyAKdZnEROAL3GjZ4FJ1xR3Lr HAqd+ZwsOiExHGtJwGe9oaks+V6QFQh9XB8uyZOHPN91k9D7KJmyPd1PvChcdgOuqHob 01mazSCIL4uKEyqyd+d8WDGlojwYa9nZpxPfMLSP0x44uvEI2ApMvV9b0h5HBLB+dZXT 7sXg== 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=xUMgVAHxzY2s5thmnK8UtbesC5l4IaRe3ho8uPLGkPk=; fh=o+Nd3jd80k1BC27JW1KN1varMfjiSsHa5UlmUdg6E0s=; b=Cy9YOzS7Ema6eZuTpdFN7cPtYCMpRj3eKbRSzCZGn58qjXTtF/RAX8DSepoxe6Yy3K jcc/P5q1F3/13A99yWeVwknSoj6f13JNZ1OrtHZl+EHAuDkc7Ubgeszy18O71Zm2LaF+ /LYd3L84Rmjzi0n1pX0Fjmb0uVQeJJbYTlybAawUpLgjTHwmHNnAH60TLVh4sCaV8QP0 5zHSdjXBa3XARdt4fbvYQ8GESWRbIWEeNkOX2IPLSEc6Pk+d1wiAaSx399xDwzryVMrT kY91w7PnKXfz9r0Mvg876bsopiwVqfhGiMr6uhYVoIeqU+izIKHDEne4dJHf30vBLEiw hrEQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=c1hCJXVT; 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-116615-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-116615-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id ln21-20020a056a003cd500b006ea9662e131si5258292pfb.136.2024.03.25.06.12.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 06:12:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-116615-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=c1hCJXVT; 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-116615-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-116615-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id BF2372C691E for ; Mon, 25 Mar 2024 13:11:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 04498172BD5; Mon, 25 Mar 2024 09:10:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="c1hCJXVT" 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 651E917C651; Mon, 25 Mar 2024 07:05:37 +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=1711350339; cv=none; b=DrXpxwQRYrIInIPqFn2FO2GYKMWyGlPukrBzLa6E3EXuelRZZA71t8p/Nz6RPp1i1wKO4mz9nmV+XRsmp2YniJFoSxXjyoaHpXI6/by9/mhcHhdEkFPUBN+nOyW60mYrAPfZM91mjw2dFnPJkL/BUcY91Wv/bQ7bpTkX2ex1j9E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711350339; c=relaxed/simple; bh=aV94Ji2ZXvUe/v3dnC1nGjcx9RZkSBb/WS70H4w3QRk=; h=Message-ID:Date:MIME-Version:Cc:Subject:To:References:From: In-Reply-To:Content-Type; b=YPV0C61FwQ4aegxaZBdDmzD+NxFPJvm6/v+URruiXLhIySToWMwMOLan66g8g6qc1V2SxPsZAoTqwQD5578EyM6GdEFedO9F2K55NQJalGKG0PjExYM3cnu00fs0oy0ilDVXn+ORfhZ0w15JULVqux2oZnKb08+3g/Qji5/zUCs= 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=c1hCJXVT; 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=1711350335; bh=aV94Ji2ZXvUe/v3dnC1nGjcx9RZkSBb/WS70H4w3QRk=; h=Date:Cc:Subject:To:References:From:In-Reply-To:From; b=c1hCJXVTp75LBY4vdUrg+GI/kT30EH6drgVYeJe9tk2SfwipE4+I2il5a/MUps2L2 STlyzxVmSdfN5raHZtPa35Wqm/mzVcYpKIQS43AtZwK9y1P/OP89OiBC1Yt6+7mges PpbmDwjzB1Bm0RndoBjZMP7GGMhhx+kKVeDjllzQfMXmep+LIybMJ0BSa62U3nzS7X sHPokQQOE32DjquR/G3eGOojb6Edm2IzMgDrzDI7/oxlbx1xDufJaDxZYOekbT3cLN zeSFBS3LSwJu3yu3EUEcOD2PGc/k8uJEJpHW90tP17dnN3tndfS0Twrn+Y8pZTkWxw trKOpKKTF9yJg== 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 5BCDE378148F; Mon, 25 Mar 2024 07:05:29 +0000 (UTC) Message-ID: Date: Mon, 25 Mar 2024 12:06:04 +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 , tianshuliang , Shawn Guo , Jiancheng Xue , Shawn Lin References: <20240307145013.2721326-1-usama.anjum@collabora.com> From: Muhammad Usama Anjum In-Reply-To: <20240307145013.2721326-1-usama.anjum@collabora.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Soft reminder On 3/7/24 7:50 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: e382ab741252 ("mmc: dw_mmc: add support for hi3798cv200 specific extensions of dw-mshc") > Signed-off-by: Muhammad Usama Anjum > --- > drivers/mmc/host/dw_mmc-hi3798cv200.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/mmc/host/dw_mmc-hi3798cv200.c b/drivers/mmc/host/dw_mmc-hi3798cv200.c > index 61923a5183693..6099756e59b3c 100644 > --- a/drivers/mmc/host/dw_mmc-hi3798cv200.c > +++ b/drivers/mmc/host/dw_mmc-hi3798cv200.c > @@ -87,7 +87,6 @@ static int dw_mci_hi3798cv200_execute_tuning(struct dw_mci_slot *slot, > goto tuning_out; > > prev_err = err; > - err = 0; > } > > tuning_out: -- BR, Muhammad Usama Anjum