From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6D294C433EF for ; Thu, 24 Feb 2022 12:56:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=fjkUSZkaashwGlo3Qwy+6taZUsZyrXa/J/QeDhX++0I=; b=z+LZJVUR04rqqjpOCOf6WQ3p90 IYJJoACEeZwFUhBU7uBuMxYbWV2UJmin0yA7q0pOuOXdGsnmtuMJgcjWsN+cEp8nS2Kr9P6bUgjz0 ZEcpaTc4h4IyUjXD2S6I5WFM7XN6NB6WVQIKHNP09G4JwvEnnb8n+mk/T+rQ+wyiijF4x8DJ8hiQX MNNLmT7ZQfFXr2gP8gFEdigc5G9N8wETotyRvEAyJHeof26788UAXzRKnWg7xUKBrzuJhM8dyRAQ7 wrR/ZZnnX9Ey3baquwNgLKcIjvJevTfVCOChw1CkztdmbUoYfs/lKEta+f4CUGm5WBmYzv6O4FaPw TO3TosFQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nNDe2-000mAc-7c; Thu, 24 Feb 2022 12:54:55 +0000 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nNDds-000m8e-VH for linux-arm-kernel@lists.infradead.org; Thu, 24 Feb 2022 12:54:46 +0000 Received: by mail-ed1-x531.google.com with SMTP id m3so2662206eda.10 for ; Thu, 24 Feb 2022 04:54:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=os8ySsUHGCfn4fSlhWcW0LoCtu+dFeeC1o4LuexdWlg=; b=hm0rq7ksIh2akap62WKEH05uGR9TSmZ7MqlrmAX5a72L7/3fsPEduRbJXSubJlErtb rIIm3V2IoJacRZsoBc+ZwSNw5CqmnWpp3eUeuthEjiY/sSrhdPkl4W7+vNFmTZxtv8gx vw/nLDi6WAlbR3AcgO9deqeahb2xmHpmQSflae5bjVICUtz5ifAehGhOtPEu2fhPds/S TmTtx1GLljufg4N6ivv2XqJcaWqR31pLlszavn9Tk6/HrzABAI9jD1PbVLt7wqL+9/Mu Ku1aau5xmiYZEXskSUHMhq0CQhrCK+J9KqFIKTmBZOvIoh7k0/2EQeaFyoV5xoYjrzCe oN8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=os8ySsUHGCfn4fSlhWcW0LoCtu+dFeeC1o4LuexdWlg=; b=bLplSo5s3lUtFUx1/TSf6yxmLI8ckOj45miWhfeMrPP1DbEZHBf4k8YYu98ta2SBS3 cRxB097CnOK9Q0QBC43SBoBlOSGJbPIUfmeeByVHJxQgd69jB/zy3tH2VJEX1SG36TXi e8amlCgYiasHe/5aSshUCsykGD6qJPg6mDfLywP2z9hhw/24c0EQXbxu4IisILqEnosu ozTAt8wzKl/8kM9NQQp1nzUBiNP+cR90y2lOHyy1z+TYQgdHYqrE99JYYvaIAbXaG+9b XpowJTADrwCJl9Sg9TPtXbPgC4QlOc6y4xrORfHwcnTOFph0oGPozYeu/jpwNTFDjTQh /XNA== X-Gm-Message-State: AOAM533CCJ52ceGnHQwQyx7vcH2pWzC7dT9ASOsbJA7/zlagbv4+8WAj JZsYMieBR8peLBYSEzxSuqM= X-Google-Smtp-Source: ABdhPJzQfeK3AEEbh7/kguzo/xuQtlKBLxOyQQ2N+KhzxVRgsqzAxPz1XnXA04R6/H0fgLR2EyU6Fw== X-Received: by 2002:a05:6402:438e:b0:410:a8bd:fee0 with SMTP id o14-20020a056402438e00b00410a8bdfee0mr2176280edc.426.1645707283299; Thu, 24 Feb 2022 04:54:43 -0800 (PST) Received: from orome (p200300e41f0a6900000000000000043a.dip0.t-ipconnect.de. [2003:e4:1f0a:6900::43a]) by smtp.gmail.com with ESMTPSA id hp7sm1342998ejc.144.2022.02.24.04.54.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Feb 2022 04:54:42 -0800 (PST) Date: Thu, 24 Feb 2022 13:54:37 +0100 From: Thierry Reding To: Colin Ian King Subject: Re: [PATCH] pwm: atmel: remove redundant initialization of variable timeout Message-ID: References: <20211210002250.639251-1-colin.i.king@gmail.com> MIME-Version: 1.0 In-Reply-To: <20211210002250.639251-1-colin.i.king@gmail.com> User-Agent: Mutt/2.2.1 (c8109e14) (2022-02-19) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220224_045445_039605_F5FB72B6 X-CRM114-Status: GOOD ( 15.46 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-pwm@vger.kernel.org, Alexandre Belloni , kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Ludovic Desroches , Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= , Lee Jones , Claudiu Beznea , linux-arm-kernel@lists.infradead.org Content-Type: multipart/mixed; boundary="===============0678838889481268418==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============0678838889481268418== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="LbvGMTIkSSxx+Jrr" Content-Disposition: inline --LbvGMTIkSSxx+Jrr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 10, 2021 at 12:22:50AM +0000, Colin Ian King wrote: > The variable timeout is being initialized with a value that is never > read, it is being re-assigned the same value later on. Remove the > redundant initialization and keep the latter assignment because it's > closer to the use of the variable. >=20 > Signed-off-by: Colin Ian King > --- > drivers/pwm/pwm-atmel.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks. Thierry --LbvGMTIkSSxx+Jrr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAmIXgAoACgkQ3SOs138+ s6GEChAApw2d+UIzuiHhq4rQmZHAlZMsL5OyuRWo14Kq7CZcPcBQuTf8PYVmtYak ei6u0+ug6g3LOhG+R7rYvS/x0eV0sO4uydIWlhTJhGEtdxbOuSDWKQxo1odhrvcW asIHs5gC1kpNzlHUMiIlHjzQ8+d7auwSRS3qO7us8BgtaAV+cKY6XvfSMm6A+/6k 0VU+I0SFPVGy3jncmvip2Oa1kkyG6oWt+sY8a29q0C2DZ69jWLecBgibPrNOwzf2 8T7EzBew6k/qguvpKgu7WitUENSn0WWJ38UW8IHcsJtC64DZv77hc62QZ4ZAgQu1 OQ/Gz5aMXmA9HLQ2rJy7I33DbP81a+OePo2evwFH9XxuBJ4ANLT48vMLb31UHQLu dGclitZls+dE6YzdQW/Wy80RCCfNTBIVNYi42LgewkZiUUfdPYBPon1VF39PDZ+Q RhyiaM64czzaM276bqpHOmI6HKOXpFlDte7/LXbNdWWvCSy89/T9BHNfJpVIBzVw iSHzNCYXntFGu5lY4MnF1mhOwqPSJk4GBgCdyQoQTCIwq2Jp35Tm2rIwrZNbh9vp qDc11NoTsAOpOmMyZfdArlICNkUWDp9pJpV2iZiYxWiT4XimEHknSuL2cDNmmI1N Rx1f69kehNDWK2fJJe1SwbfP6E/fn5YT5lflhtsJ6wbhyjjyzXM= =pYZZ -----END PGP SIGNATURE----- --LbvGMTIkSSxx+Jrr-- --===============0678838889481268418== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============0678838889481268418==--