From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.bootlin.com ([62.4.15.54]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fcHWI-0008B9-7I for linux-mtd@lists.infradead.org; Sun, 08 Jul 2018 21:47:04 +0000 Date: Sun, 8 Jul 2018 23:46:47 +0200 From: Miquel Raynal To: Colin King Cc: Han Xu , Boris Brezillon , Richard Weinberger , David Woodhouse , Brian Norris , Marek Vasut , linux-mtd@lists.infradead.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mtd: rawnand: gpmi: remove redundant variable payload_virt Message-ID: <20180708234647.28137d8c@xps13> In-Reply-To: <20180703081214.32754-1-colin.king@canonical.com> References: <20180703081214.32754-1-colin.king@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi Colin, Colin King wrote on Tue, 3 Jul 2018 09:12:14 +0100: > From: Colin Ian King >=20 > Variable payload_virt is being assigned but is never used hence it is > redundant and can be removed. >=20 > Cleans up clang warning: > warning: variable 'payload_virt' set but not used [-Wunused-but-set-varia= ble] >=20 > Signed-off-by: Colin Ian King > --- Applied to nand/next. Thanks, Miqu=C3=A8l