Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp2253499pxv; Sat, 24 Jul 2021 10:02:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwU+4cf/u/fvO6m6JVyW3cZXh58u7ZewmBFOxENjYG8DzqdToajvs3/6f5ALNhGbMh30/uA X-Received: by 2002:a17:907:3e02:: with SMTP id hp2mr9722465ejc.4.1627146157419; Sat, 24 Jul 2021 10:02:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627146157; cv=none; d=google.com; s=arc-20160816; b=YdMl2tA8+8OqEXkVs5CkQoqjMy68hyFlYVRdEETIcH0XwZGri2SmQ47hASQwWA3i0b BYcqzou2l94k6rUSgJFbWVw19sA5sizqBuTCWN0cCnlWEO3Owxnwdkl1z9z/4YvWk5CN ulZg+r/iveJrGZnxQ+YtVunDs9lt6iF1rLO1rHNWe4zlr6B3aOhzAjrchVtIEGn7tUjC 3XFwWBZ1MRabxJXolT1rSGk9d+exuub4TFUDKyC5UAO68OHm1lma3GefD+ES4X2hF/fE ybaYkMPfABy0ZU7hh8OzzAgGa9beVG08cfEKaBZ7TxaBJjiTklG7RPnbDXTtVH4SqPCo p2uA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=hwZl9r781DhnS9IyCL8z3B7Z8+tF8SRcg74clX737NI=; b=ANKMqXOt/amvFDjTYMOxFve1Ljo6AWW986jmr6nro71JKznXOaPxanZOkRZ85UJ0xT ROQIgVmRyiKP9FUhOhaIQ1nAM1AG/r7Tl2TBzVF+a35LJE32DhLRtijXU/f5VKrRTgmj X3H5csZkLh+IdVLULPa/NjSObx0AW26+YZml5uS7SJOgXPagcqYdaBpcoR8kJprsifxV UWJs1rqtyBlZJQd5cfioqiVAw694n9H3P+/dFl6MPIvGVcnvfck0myxiSrtG8dqBF6zj ARLErs7CHuJ1PTmZ1010GYkvELn/73+In7ZaDzibjf5197cTP4L2jQl2KsCnwe5haaMA icTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=L+tQhJdM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g20si34037118edv.570.2021.07.24.10.01.58; Sat, 24 Jul 2021 10:02:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=L+tQhJdM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229733AbhGXQOb (ORCPT + 99 others); Sat, 24 Jul 2021 12:14:31 -0400 Received: from mout.gmx.net ([212.227.15.18]:42993 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229530AbhGXQOa (ORCPT ); Sat, 24 Jul 2021 12:14:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1627145673; bh=wSYHYXjQ8tY2LuOVqUnrRReY9Qkro14biYwp5qK9Qbg=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=L+tQhJdM8xwferGORR21neTgmRxe/Guw+NJ4eh+UMFI37GVhv9GN839nFHvjt/wk8 20gTx6DxdNAHQ0Mxi4wcFWuA1dzEEIDcvP1KAqiYxwUIBeyySdX/f9xOHgbXXoUZmi Q5ZK5JT8vYy2KWFAkpBMeHB5o+cbaVLS/rIDqyAw= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([83.52.228.41]) by mail.gmx.net (mrgmx004 [212.227.17.184]) with ESMTPSA (Nemesis) id 1MQe5k-1lkjZG48YQ-00NjkY; Sat, 24 Jul 2021 18:54:33 +0200 From: Len Baker To: Greg Kroah-Hartman Cc: Len Baker , Andy Shevchenko , Phil Reid , Geert Uytterhoeven , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/3] staging/fbtft: Remove unnecessary variable initialization Date: Sat, 24 Jul 2021 17:14:10 +0200 Message-Id: <20210724151411.9531-3-len.baker@gmx.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210724151411.9531-1-len.baker@gmx.com> References: <20210724151411.9531-1-len.baker@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:rSb/1rkm96QKJVkdD088liE9MP7SztbliVsYvbYCK+YrW7iDYYq HU/dJvRyII6cTTHQZQzwVy+75Zu0HmH2G2Mkk/z/F1vReW8xpIJrWi8B99CCqSZtb8v2KzN l6OZ/SfERY4L+rKQwlMpHXX0qK2BHDILB+LoYCMpGlG1FBo1CUGM9EGumIV+/GGmeyChCce eGgevo9c/bPR7Odcw86ow== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:b2MJHBGWTlQ=:OXq0MS/8hkj1BxEsUVhVYM oBHhsBJmTHlO0M/pOFx3QclSI1wUBCigQ4s9Sa7A1CjQmoTKhtdJ/oyVrPClFgKT/w/tAnz7a vRALzoO3n2hbnKZM0tR9ari1BjovUUXmnAqajK8ToAaTVOLQ4Zg/FvR5/+oEknEraf6u6Zvck Hdin+nf9wErG/apNrynfWeO760O6HQPccPI8CYz9rtf6ogAKkdK77oNh88UM9t9VC+SkXR6a3 W6wltemJVs9NA0Duzi6p7ba5ewPdlZWp25ZkDBG741ss7pzFrR48DPDJTTQPlouLWHgy7tbtJ oHPkFAkHVuMuNAnOAmvXj/ynO5v6Ajqy0eheCupmMHgT5Xn3vd1qyi/t65kGWSXrvR9euRoq2 ZtXF5YJRrUL7CcK+HWzMvhaId1QNq3HgBWhM2JZgFzwDHNbK7Ife8IRBt9lCtfEfEK20ms71i FiK4HTMcjZmR6mI7CbiyAG9iJdjJCqElaZNjptitm8mezKiII4lclDjMNjntszWRp25dYiECp dX7JWF5P0bRKZrjK/mMHBGPDcqcaVJ165i/VkMJsD9xeCNv00CTiDXsUDAYGuAJPoNWQaa/Qr 13I5aORe/YJZt1lE05Yo7C/G/Xs3UzFMR7sfK++dNmw2q/I//GegiNuWI9hkGJM0nNALgZOM1 Qm7A6IpL+ROx+NDNDD++g2nc8Q5rwdzMWNPhzEi5n1KV2g6+t4Ubq2Oh2fxqAMrakNven2k80 TymJFe2CS+SS9o+JGcPE1CXShLzrvxvgKXrA5xEwlRe/+ZHXrnDzf0hxm7vn45inf28wGtCzu 4hjSwmi7Nd++7HgBXzZ/IVBmELmB9VKM7QcQvIRka77E+ZUrKRflpOr3jUFXQgtKjLKDVugi9 ci/7cykY2ChbIG/RYSaqXCEu2BkaWsqtlnwd3hOH4r0TeSrJI74+rIjsVhlwnbiqruuIAGfnS 2GGVOoWJMO7SONvjcjypKGWzHBPwoO3j52bPpd2oVeRfJu9yeyBTNqY50ieqLn/cCTTkccGKa ZUulqmK+IC4CIWw+t/edPCA6XGE8f8gIcCf9sgZ40Q1mJ8PxeY1xxsExx5JIoMRTm/pJgwiq6 pxrVzx3VTlMSXCUv4di8MCQ5u0g2s1zyfpy Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove the initialization of the variable "i" since it is written a few lines later. Signed-off-by: Len Baker =2D-- drivers/staging/fbtft/fbtft-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/fbtft/fbtft-core.c b/drivers/staging/fbtft/fb= tft-core.c index be20da3c4a5c..cc2bee22f7ad 100644 =2D-- a/drivers/staging/fbtft/fbtft-core.c +++ b/drivers/staging/fbtft/fbtft-core.c @@ -992,7 +992,7 @@ static int fbtft_init_display_from_property(struct fbt= ft_par *par) int fbtft_init_display(struct fbtft_par *par) { int buf[64]; - int i =3D 0; + int i; int j; /* sanity check */ =2D- 2.25.1