Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1089207pxb; Fri, 22 Apr 2022 19:14:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+Ju6Dg3fGA46a/4kPXfLrqJzr81E4DL3innaxmT2XRGt4danZa1ywbyeD0B/5/eFPauKV X-Received: by 2002:a62:d152:0:b0:50c:e62e:55a4 with SMTP id t18-20020a62d152000000b0050ce62e55a4mr7773933pfl.72.1650680084207; Fri, 22 Apr 2022 19:14:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650680084; cv=none; d=google.com; s=arc-20160816; b=NqTODByHvgicHfo8rIuw1OCXidyMl1rOmQa1WXXhsYAvGOE5drpZa9lZzbLLiS8bnp Uc3yCHAPJYR1MgD/CsZllnT0tYOX/Y8w/FqA7ZmFjKjTxMCepbiie3pVe9jfd0c4+ceL yPh8Wmf+RHaVfiX/UP0xwvWT9ITxxwaJMPiA7zVkPfFMUWa+vnycRBeisP0OaIurv6P5 cO17NnGfGnnf5FMjIAAAvRxA3EsGjhYCxrsM98YSuoO1tChmMxjs/+INZTeEDviMHqyE ucMAMGxp5jSE4NwGlGc69Nb3OThxlhRdweUrHRFDRnIX2SV7R8ama0XUREjoWfPgsfD1 5Jgg== 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=mrOPhWLuAIUxSoj+v6MDLwHfuvPmqtwovzfv/A80gNE=; b=LAqEnvEFQptX+UnFm/5W7kGeyP0jdpXdQz0FD9OyMAC/zR622LrO6BLGBvIpTh1CWu tOOezIYE2WJRxT9v4bAoNYXVXQkv51Nc3wRcIUvjtq8u4wc1Tz4YNABLunX/9gNoOc9J 5aD71Sna/RjLp08V919eogo9QR1+uvrO2L009zb7KE4gEWPIOVKUw7miroDaerVET/Av in0PGRBY9CtcYo5r2fW0pvj9DKsmsSyCy/ovfLSoNDY58nIpiXjGTD/xisSxjnNfsE7y z53b4AcPWotPISc12LhlJwABTOD09GhwrQZkp2dpTXvgtj9TVs6t9Irq23SoMCCXcfp7 Afgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JShmaSoo; 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 i8-20020a63e908000000b003aaa7a8baa1si5664160pgh.467.2022.04.22.19.14.25; Fri, 22 Apr 2022 19:14:44 -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=JShmaSoo; 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 S231723AbiDWCEc (ORCPT + 99 others); Fri, 22 Apr 2022 22:04:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231713AbiDWCEX (ORCPT ); Fri, 22 Apr 2022 22:04:23 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4359BB9; Fri, 22 Apr 2022 19:01:27 -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 9B0CAB8216B; Sat, 23 Apr 2022 02:01:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3E902C385A0; Sat, 23 Apr 2022 02:01:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650679285; bh=mrOPhWLuAIUxSoj+v6MDLwHfuvPmqtwovzfv/A80gNE=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=JShmaSoog00ktcZWVyCeeeRXc4TOBoCUdltifsplVJo0hlLCA9mIiOeLvgLg832DC +bUn00nVuYccRZtaHS7g0lbrbFaM3ca8W3ic/i+r9IkOWUd6Q0YQvyriLMH4s0ACZQ JUHh16tpm/IxsVt+35u4o4NYWRRQq5ZfYnzAipBuVo/DzdBOcEIkD3BiqdvFNiKqsP 79vQ5hISAzH6sF3k5cWm0wUDJaQeK8Q5BgtoYO1PyLQo+KnSF26e+MVxsZNUoU0kqe P4dGGqxD92++BGd6yoQI5vI0LAtEx/Mvh8CZqRmxSM9Jhcka8m5Wh0SfcVohJPwOAT Hg/JFcgj9eDWA== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20220418141537.83994-1-colin.i.king@gmail.com> References: <20220418141537.83994-1-colin.i.king@gmail.com> Subject: Re: [PATCH] clk: actions: remove redundant assignment after a mask operation From: Stephen Boyd Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev To: Andreas =?utf-8?q?F=C3=A4rber?= , Colin Ian King , Manivannan Sadhasivam , Michael Turquette , linux-actions@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org Date: Fri, 22 Apr 2022 19:01:23 -0700 User-Agent: alot/0.10 Message-Id: <20220423020125.3E902C385A0@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-18 07:15:37) > The assignment operation after a & mask operation is redundant, > the &=3D operator can be replaced with just the & operator. >=20 > Cleans up a clang-scan warning: > drivers/clk/actions/owl-pll.c:28:9: warning: Although the value > stored to 'mul' is used in the enclosing expression, the value is > never actually read from 'mul' [deadcode.DeadStores] >=20 > Signed-off-by: Colin Ian King > --- Applied to clk-next