Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp634623lqi; Thu, 7 Mar 2024 07:22:13 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUQ8AvToCR6JhOPns//WmlsUlRbFMS4iQA3QlCKOUxdo4KqgpwO8StGRtEQo3NHtQESasRspyGW9f7oaktIYKuN0fsfaRm/dlvLW0o8Iw== X-Google-Smtp-Source: AGHT+IHdQMEb8ix0f95jmJGPSQhh3+IAzy4ycy5m6Tm2qXvFP4+XcJQkqQtPKScXV1j8+Owb0SHG X-Received: by 2002:a17:903:11c3:b0:1dc:d8de:5664 with SMTP id q3-20020a17090311c300b001dcd8de5664mr9622837plh.33.1709824932724; Thu, 07 Mar 2024 07:22:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709824932; cv=pass; d=google.com; s=arc-20160816; b=rrFFWUSIeryyin1c8s3F/d/w48X9QwCDy9opZTjogLR4v3aSgdzVim201m/ohL+y5s XCNFo2XvmpZgm9CbtBH7pNKTIzwAoMfFEq0tnmg6vQ9LaQNCBWY5vgGxDqYXe8jG0LYv nolfAoY9b6RUOJtq49jQSTkp7phyjt1VU8IajQ93t4SJ5Fs+JROWc3/PmHx3H3tJ1wgY 6XOh9ruypVNpTyessDTlgqdWv39wn6taOWejPVG2Rj/cQhoKULXHZu5XtCajq+D4lSsB iGLvJcZVCmFdZTF3q+jFDzvycBZOdG3xGU7LeKKrTYlYSXwNQTYJkKcnIZS0q7I0bHtd 0yyg== 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=dJ8slC9DiyD3iwhKSmza3jJzgItI82aRPDcNlDOb05o=; fh=ZmImHvxzwmiIQuCCOT3H+AblatEKqHi1bPGPYtuAC68=; b=HOBeWCgOrTN/hlorcnB0CtE3pLilFevI18YqC/O73grGZGupZ0ScOL6Yt/kAxngCIY XbD/mJPyoJeMoihMJLRODvwmGDip3Vk1i33AwOO4BZOP883xbeBipCq2mDP4Z6Q6HZul gXTaqf8RzaIdbHdHArsqpqC41nLpwFfOPk05aMiezJjQXHdAPWzXvBKoNxh/Ez6SHBL6 dxl/iNFujcvxcQ8JHS19Xjm78aKo+TPjlZPg3jp/AnOuqdYHT0lRo92I/gQH0MB9X2X6 ALAftPwYtlnA4Wmi0TLurSKMmWPd5lcrMAegs0EkMCxJI6ODVK1DFRL/loUgloYa6Qgr q9Ng==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=SIOLXPmq; 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-95767-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95767-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 c7-20020a170903234700b001dc3437ccabsi14412926plh.580.2024.03.07.07.22.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 07:22:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-95767-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=SIOLXPmq; 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-95767-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95767-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 4CF37B2264F for ; Thu, 7 Mar 2024 14:50:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1CAD512BE97; Thu, 7 Mar 2024 14:49:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="SIOLXPmq" 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 B30711B94D; Thu, 7 Mar 2024 14:49:56 +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=1709822998; cv=none; b=OfELjcdkE6G/wBTcZ2PLx8ac/q/qu+YGJZVcP17TaSjvLW4rQS0g5jCUA4IX4oo3rA3+aPuZuoS9+lulKCm2fXCV2J48xPrjiYUCZ/RGun+NER0tznUw65KMyI8IvZf/T4Uu6p+vINKV/47vhglqiBUXVDrv9KH3K47tUR8ej0k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709822998; c=relaxed/simple; bh=m7rJ+0egJzJtARHOsYtJ2DtjkXer4oCX2aD/B5er6ws=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=gDo+rlk38MB0cm36Um08FxHrkmXaMUqFpeFxHU8C2s1XtPrEh2l9fI89+6TTR4XXeI/eT0TVVU7hbx9rmf7YajBWUhrmCIfJq6MUJF5T2aNl9/5lqZjt9lT5qyAA5+cSRQNGaJUIRK62TvoVRHDgu/PJsPbRbzMRZX1nLtaMq9Y= 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=SIOLXPmq; 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=1709822994; bh=m7rJ+0egJzJtARHOsYtJ2DtjkXer4oCX2aD/B5er6ws=; h=From:To:Cc:Subject:Date:From; b=SIOLXPmqlTB70ND8BsPLGSLGfYA5mqSbmj9DKqb7/LD/nM5YLUUVR3ChCcuYr7Mxt cfN0gc8t2z6aAJihuUIi4pRI82RNIoCGutJJv6rwVJ1IuMJ71ryILSSLi2lbtIh5vr RdmsRCDa6/wbO6fhjctv0VIUE2EBNZjFO3lsBTkDO6QRKdKsWwyDTGvJFOsDYjMdK8 iR1MVYmcoNIrx/Jxcjg9MYGrhiPXqN/QxXeQeWrgNEfwjMFBScCwf4LA5t1DbYoot3 SY/sPFn+Agnxz3Z4KVI8Bpt1MH0LxqeOAHtUcr0Uty+jhr/YX16vk7LX5OFiqJ2PHD yTAkhiFlrVr2g== 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 4C5FE37820DA; Thu, 7 Mar 2024 14:49:51 +0000 (UTC) From: Muhammad Usama Anjum To: Jaehoon Chung , Ulf Hansson , tianshuliang , Shawn Guo , Jiancheng Xue , Shawn Lin 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 19:50:13 +0500 Message-Id: <20240307145013.2721326-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: 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: -- 2.39.2