Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp384580rdb; Mon, 29 Jan 2024 05:27:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IHKBUp+bM1//qa9tGYYVZ22YBDzc9cwPa9Wj8r0bjJljTuI8nTWsm/ORCOvBgfFY3QJnFTJ X-Received: by 2002:aa7:d9d9:0:b0:55f:2ad6:77f4 with SMTP id v25-20020aa7d9d9000000b0055f2ad677f4mr177369eds.24.1706534871051; Mon, 29 Jan 2024 05:27:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706534871; cv=pass; d=google.com; s=arc-20160816; b=zmr1CHBRHzO/nKG8xG6DG5e4LmVg6YlLu9f0JMQq1LDskPQhBFA1tNjqHJkBA7bgqB Mn1P8HKyrhEZ4NBULwT39OLfWRTv6ZnD8uFgcLrVicdW0mK4l+Np8VvpxC82OrvJ8pl0 GEKabciokp6uaQv2GPzsO7KEXtCxKGJ+cIUsMalRs8A1hjtBQuOVNh4T0nnsCoHCECb0 LFtN08LKGoNUGup3jIzq/N6/zw29zkpZ9mCFEnb0vdP5ayqqeoDc74z56FhtMNaTEEKN vWcFcvya3ziW5VuJY9biUP8HRICnRzybeb7sPozuvr4VpX5AFtfq4AV1mNUvEBy3/7MW 0F3Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:message-id:date:references:in-reply-to:subject:cc:to :from:dkim-signature; bh=vw2l3mVoFnETJJFo3M6eEhiOHyLrxebjoniTEGn4FtI=; fh=BN8KwdxCfutMOmosuOorJm0mOrfWI/5k9KcuzlIlxKE=; b=YVSHDcVHWvnN1Qw5BWg5j/Gq+orKaolmXJPwoGOwgjXAEifhC+BNAGUX9Yj/OmsXsP N0ix3K4QVy+MDervsP3SG8nyLHG/29EstKVOKRhG2loXxfR2Q2rjQRlCUNLFryQst5B9 ZZ33lFAKXL005DzJPKyraeM/3aq9ArDcm6tKu/aFSQ9KrRG1205baXb8TRMRddbQ0Znf Npq23RPOVZ5M/zVynzvaVWYgb1Frt0e8IHMZErEPl2wudU9HDmWD85VfCplo36OZ8zGh TEWJUzkOANZcIxdrC5/3Y9kg2UkpQdLNDzAXWj5J/g+5nf5ZeKC/XaPklJTfX+KZul6C BMJg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ByjR9RCx; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-42791-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42791-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 u2-20020a50d502000000b0055ef39f3ce3si1222947edi.473.2024.01.29.05.27.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 05:27:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-42791-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=@kernel.org header.s=k20201202 header.b=ByjR9RCx; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-42791-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42791-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 196D81F231A0 for ; Mon, 29 Jan 2024 13:26:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0FCFF64AB5; Mon, 29 Jan 2024 13:26:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ByjR9RCx" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 2DA1A64AA2 for ; Mon, 29 Jan 2024 13:26:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706534767; cv=none; b=h6G2pw7DT1K8VTHneXiHYZDXyx0euJP/2pVGycQ8cY0XuVG4bcVGriQnC37TSlJNdrwCGWOdnDRNpMbOVg0ZwAvoGQy/PWSm1eXXkaFIfqE6AJLYFICzXhETGHJq++2UsWM2KxHbOosMq5tjQkpefXOvnRpWRkBVT4fXyrtjiCQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706534767; c=relaxed/simple; bh=B9azg97gvfK4Td1aCifOHkTCJtHZ+EM7jryOwYC5Ivg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=QrcGOKlyvXFSKk1bu0KdbViFKnA3b1aYimlBGNilYghBATQ7U5xKMZ11CJje75Zw26CmClPPXeG418lhrBnQsu7UE9I9zNPbvIiwsaVGJq+Z5tH5GihkisRIjh8Wpen84YQDCbGasLl4pnB2Dre0XZKUgdq1A5au0xwKWosPUtY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ByjR9RCx; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 174E0C43399; Mon, 29 Jan 2024 13:26:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706534766; bh=B9azg97gvfK4Td1aCifOHkTCJtHZ+EM7jryOwYC5Ivg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=ByjR9RCxWhEtabgn2vOUB7EC3aJJ8x3MBQ90aw3vtEhiMXUF55XbpKOCMg0ZSZ1xY WW0232pOokov6MLkD0AGziMEm5pDXng4CzSewP+QfNHXEB36vwAQS64NWFmmy0jncB mJLzK3uclzRi/QMLSvipNaJ8ULKwmfKBv2YDQDtXciVxFseAzSRdP/gOD4bVWFjEfi zlToiDyEy4byiQZjUmQS4qRzRi6IznUNpRs8g2EiwdxODd8buosk/w6NwlQEOebrXc v6vSNkN1eMo27LdVpb4Y6atEz3CwhSZM8KchbDdQiOhisubQwCuS8zQ6CBD4NOoEDr 6wCkIcSM87IGA== From: Pratyush Yadav To: Tudor Ambarus Cc: pratyush@kernel.org, michael@walle.cc, miquel.raynal@bootlin.com, richard@nod.at, jaimeliao@mxic.com.tw, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/4] mtd: spi-nor: drop superfluous debug prints In-Reply-To: <120bf090-0c07-4971-a18a-a1b326f1b139@linaro.org> (Tudor Ambarus's message of "Fri, 15 Dec 2023 10:24:42 +0200") References: <20231215082138.16063-1-tudor.ambarus@linaro.org> <20231215082138.16063-5-tudor.ambarus@linaro.org> <120bf090-0c07-4971-a18a-a1b326f1b139@linaro.org> Date: Mon, 29 Jan 2024 14:26:03 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Fri, Dec 15 2023, Tudor Ambarus wrote: > I missed to drop some unused variables. Will drop them if everything > else is fine. > > diff --git a/drivers/mtd/spi-nor/core.c b/drivers/mtd/spi-nor/core.c > index a708c3448809..92c992eb73d5 100644 > --- a/drivers/mtd/spi-nor/core.c > +++ b/drivers/mtd/spi-nor/core.c > @@ -3492,9 +3492,7 @@ int spi_nor_scan(struct spi_nor *nor, const char > *name, > { > const struct flash_info *info; > struct device *dev = nor->dev; > - struct mtd_info *mtd = &nor->mtd; > int ret; > - int i; > > ret = spi_nor_check(nor); > if (ret) With these, Reviewed-by: Pratyush Yadav -- Regards, Pratyush Yadav