Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp3196909ioa; Mon, 25 Apr 2022 21:08:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxt1D4jdvbHjg05TnNaPivzhOGZWYTT64AjWAE+Clg8YQd/yxOwkI8VAvIXgFMD5fmHuK/U X-Received: by 2002:a05:6a00:2493:b0:50d:5bf7:982c with SMTP id c19-20020a056a00249300b0050d5bf7982cmr842039pfv.47.1650946090215; Mon, 25 Apr 2022 21:08:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650946090; cv=none; d=google.com; s=arc-20160816; b=SPhf3koyVhVyreXu8FKPjqHmw3bWEG2VgODeHSDrSW6Q47fID1g0tuV2PeM8RqZ221 Uw7/S8VLpG8nYt2N+G3U+KiARz5I5d2VbstawWRlNsbEFCIPetFM0PhKj36aL/AhaEQW RpZ2dqiWbZmXOWoWmqRP0DJV1sr9a06CT9CIWoPRiFsKh/mEetEaQTKuxe3bdVtGyWE6 etaG2/byacFS7IAl6vAMzDDAeQnMVI4ay37gjs8VV34w2LR1DEXSv+F6qqSdCn8ErRGW HZe/cKGIl7RKpri5lZKIYV0Hpjq4dRj+ff6KMtECmN1nQ+vvwE8CMNc6VX/CbXt3TXHx rVuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=65ZfwId3z88lOwarYLJJhKmde8T17svhcGfPB01Bnvw=; b=XqrP1mxRack7cO0ZHZuUYdlqgTIQ5VLGWRduZcQwSnSuHq1R5XgN4w3nRLXcCw8IDp vgwd4hWiTeLM9Q4xdCmrvc9n9aJmatua9ehHnxb0/lPw3MTcdWEAFzm6cgmNmGhimIH5 +6SP7STlevHpGQ7KfOsML2gIpZTiyoiIke3Bcv5ps306pzBFW+gkVcPLnJn8ILhZUhAq Zq7IV/5frav1nmmBsFIQLZ1FB/RnbwN9RyTqmfulU8/eCwembxMS9MNtF8/GNaILVIOK XhE4BSjhScrW+LvToJB44iSf6oHMpGXDj5zc5yglwp/aZDfsMSKHZGYhqW6V0OPAYawT Da6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CrrSdpUq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c3-20020a170902d48300b0015ce3e35354si10086166plg.90.2022.04.25.21.07.54; Mon, 25 Apr 2022 21:08:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CrrSdpUq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235454AbiDYWwl (ORCPT + 99 others); Mon, 25 Apr 2022 18:52:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229807AbiDYWwk (ORCPT ); Mon, 25 Apr 2022 18:52:40 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96F22113CAF; Mon, 25 Apr 2022 15:49:35 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 34D34B818FA; Mon, 25 Apr 2022 22:49:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C8670C385A9; Mon, 25 Apr 2022 22:49:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650926972; bh=65ZfwId3z88lOwarYLJJhKmde8T17svhcGfPB01Bnvw=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=CrrSdpUqm4Tmvc9osrbNHIaPBwyO3lJXvtU/LDsR18kATGOLwlzYSE76KpTrC5/qc teHsGxBZiE0jvEEtNeaYbsgwR4UkI6AFguyJkEe92+qum0SFjtSpxVc3EmbFFrmw5S KZVpI2vUA7Kc4OmHr/Hatj0o2ai+Nc1J0PKL45g6ZFcD1HqxbiQU2Nw5xPvaz5f8RL ZtqmGQWEkI+qqMdgJsQDBhSWsQbWowgiwTaEQWIz1I4leCWE+UzXoW+bYbF7J8gljb jUtRpZmQKr5CoujoMXZ7CHV7AqJD7zYprzDCGD6RjAvYu87tW1kdwlh8hpypUI9tX8 t5oomTJ57X7VQ== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20220424182227.1364966-1-colin.i.king@gmail.com> References: <20220424182227.1364966-1-colin.i.king@gmail.com> Subject: Re: [PATCH] clk: mux: remove redundant initialization of variable width From: Stephen Boyd Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org To: Colin Ian King , Michael Turquette , linux-clk@vger.kernel.org Date: Mon, 25 Apr 2022 15:49:30 -0700 User-Agent: alot/0.10 Message-Id: <20220425224932.C8670C385A9@smtp.kernel.org> X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Colin Ian King (2022-04-24 11:22:27) > Variable width is being ininitialized with a value that is never read. > The ininitializtion is redundant and can be removed. Move the variable > to the scope it is required. >=20 > Cleans up cppcheck warning: > Variable 'width' is assigned a value that is never used. >=20 > Signed-off-by: Colin Ian King > --- Applied to clk-next