Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp517108lqi; Thu, 7 Mar 2024 04:21:22 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVQR5hviuSH1r3FDO62EX85aN/HvN7waK26VlLbqjFOdRl7jHW2En8w4MurESv+SKjWWCwDhqO4v8luxPOHxZL0NYubO4Ky3766I4+New== X-Google-Smtp-Source: AGHT+IFpMwKQn8SNo5fAdMDNg/R1PSOhDKpo5D0Z1p0gcDpruUwk1TzplleRhy+zKVA4qiQWuiiN X-Received: by 2002:a05:6a00:3d56:b0:6e6:2946:2b6e with SMTP id lp22-20020a056a003d5600b006e629462b6emr13647029pfb.32.1709814082228; Thu, 07 Mar 2024 04:21:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709814082; cv=pass; d=google.com; s=arc-20160816; b=IeE1FdnUug+LcLnrVGYCa9hfEwWQEB2z/cY3V9odLEp1hWceOnEr93JCn7RZSrvshk Y+LLcHGdaIdoxp34XvzKP3O/Dxs61W058DhI58fs245JyJYDy3CfWAu8MEkJLBf231q8 QB2yLfFppLxe2pCDEIT1vg5Fq0JwGdfnMYmyr2NY1i3gby/4IKtJTEFi8kr19ABziRxB zwpKdeJPuvnlHDry0FPKXMcYgUCuKcYtaYNvgEQ/xxZ+GyFziPSXJhD2m5a4m/T5jvrs HwxtoE3IODP97QF2xz8sODfB1W8Tm+p0eOKKPDP9uS9lQta8xKHw+fp0e8GaxtTKMcao xmLg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=QmCBuBuFDo+y+MpsZiZf1ftpVQWbcuzff1mJo0PaB/A=; fh=rd1pxX2OoRkge1zP+CT4ptBHRzgeJU207qslaIDFtfo=; b=ZvJSArDNrHA2KTZ1W3B5awPzcJnlXbsnwdpb4pz6cDNcqR6fWyuyzDI1ABT5bS23UN buH9ZFWAOLzS3IKzMHysSBXel3xrjBnyYKRDu3KN7JDKuUkFo2DL5BnJ1hF0iHVb7OS+ F787cOwKR38h+ssjzZI+rnzRf1QIpy/vLOws5FnljnSbZ4Dgd9Tt6tPFGlqk8TuAsX8J jzrDjZ6DxM0Gwh/K6gZHTvbLXX8rB+sB8kxaBJtu441GxstBlqANsghGwwHMLdJWnAYm 0hIllHckSOh2jz2gqOWvc8wfavMAxgD1TVpcmEq0FXqyJI1k5gkWeD5erS85ZU4dQhdQ M9KA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="GuWVP1v/"; 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-95521-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95521-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. [139.178.88.99]) by mx.google.com with ESMTPS id i4-20020aa78d84000000b006e6465f77f4si3952878pfr.348.2024.03.07.04.21.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 04:21:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-95521-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="GuWVP1v/"; 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-95521-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95521-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 DE65E284A4E for ; Thu, 7 Mar 2024 12:21:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2507E12A161; Thu, 7 Mar 2024 12:21:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="GuWVP1v/" 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 C27ED26AE9; Thu, 7 Mar 2024 12:21:09 +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=1709814071; cv=none; b=aRQURRVZVGgfERLf9tJz6yQDYLOmikXQQByRH0QwnLITLZ3zp3t5JwKE1/cQ3666FJZP5AI7zS+uOj6eot/XTjfGzeEujLAz9zOHdUElVtxyuFKYP8USqhNBTk4oksgePS71ZakFP4stKzvIploiza1xwJXaEpWzdYbBKuvmBF8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709814071; c=relaxed/simple; bh=ZUdP1AgvK/ta7Suaq0TI3JpieomFqdensBYqgLDhtN0=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=FMVvyXalcaYLXg2K0iNAuJGoCcJ9LzMIYfS9Chot3JIuRGTB8Lm+5JPOT14GG5vNMsEZ0r7xfeGsiLP2GXIV6BTORKulyqeMSPUUkJFhDAiC4T6Y/qmQymPwO9rQTFPDv2EAxPbYYkT2YBHje10wtEF0xF/9p3GtZZxeMpq5288= 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=GuWVP1v/; 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=1709814068; bh=ZUdP1AgvK/ta7Suaq0TI3JpieomFqdensBYqgLDhtN0=; h=From:To:Cc:Subject:Date:From; b=GuWVP1v/OyQ174xMmfVzK2JnK26ievNLFdD3akzGqUj8vVcrRmkIzKyeD1+6QjnWf pwriETzTASvBnpsCNPK6lwFxuz96d5ouONcJdtzcbwFzJPMJx6VFj0UjC375fY0FOk 6f4uEnZ/xbeDXiDgmFDOId+LdIITP+Sw35XbboBqdht41P0BmW4vNxfkAijlmQAtpk RIVZJk6u/88ZoZVzJR/SIXRgtlFTbc2puEdkSHYZ4W5Wqr7l7JFPY8lFeDQr4cJAcs +af9BhouhGFML8w0/C4gzxQxH4x1vMYi6ooIVZu4Om8L4ikbfK3J5bF+hEf0XlP4D+ V1nFrJiBGMrNA== Received: from localhost.localdomain (broslavsky.collaboradmins.com [68.183.210.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 4F43737820DA; Thu, 7 Mar 2024 12:21:05 +0000 (UTC) From: Muhammad Usama Anjum To: Jaehoon Chung , Ulf Hansson , Yang Xiwen Cc: Muhammad Usama Anjum , kernel@collabora.com, kernel-janitors@vger.kernel.org, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] mmc: dw_mmc: remove unneeded assignment Date: Thu, 7 Mar 2024 17:21:29 +0500 Message-Id: <20240307122129.2359553-1-usama.anjum@collabora.com> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: -- 2.39.2