Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp143216rdb; Wed, 21 Feb 2024 21:36:25 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUbhEcYFxLMXMkQ0TjWqOn7D3vlkZJQDcjQgF3pw+PiBeiumrXjT34IlIyZwtQX3hBWXmHKa3m4KhGLyJR3JtPeUghh0++UeQ2372NmdQ== X-Google-Smtp-Source: AGHT+IEvTyRqNZ5FXTSRc+qxq4iinH7FwjIN7VSw1iET7MQUHsFtx+RiVPlDlBhbNKpmttYQ2Eth X-Received: by 2002:ac8:5987:0:b0:42e:28a0:bc2f with SMTP id e7-20020ac85987000000b0042e28a0bc2fmr7176873qte.50.1708580184908; Wed, 21 Feb 2024 21:36:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708580184; cv=pass; d=google.com; s=arc-20160816; b=kiEv7juiEPq9T3iayyA4CVmDPp8rNg+VM2hdAjQGcifUun97z3S5UP+mAtCr/Ry+c5 aCLRwEibiWLcTdO6BUsUHdUzTnnfpliB6xc3bne+n3YuyTCDR6GTnw4X9talv4wPOTGd KncFleM/koUeRMYzJhdC78TfVUtvOBbjCWLVZLxN7A/tT/C32Z1bamUHehEYaSKhkP/S +Qv9RwBVqhpVu5x6+If6OoiE/mv2LWpWmB3hlDDqa/St6Ffmf2Pt25ckSZawMOVD1sd9 wA8kFz/RgzJ8fWfu9oYiieSHYjAkE5Jiw2rRslf9IpL8KOesEanEtDpfiPhXzGI4P51h ZKkQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:date:to:cc:from:subject:references:in-reply-to :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:dkim-signature; bh=ZKuX5+xYAEWUs36SnlYmDzgNCCJN5ePNHibRbrCTwas=; fh=JwaLxayc+FmxKAjcmOra1cVfREhbiR9dRJsB5KBeB2o=; b=Jq69R0M7miHj/JsLt9LO2zHhxc0CwpGbO/h5FFz+wMV1x4nqvEKZrxZpjwcUCsN5IH G77QjN5kzryEWuKI9JBVchv+ID1o1I6VLGGjEhJYpsNpiuIOX1iICgzPkpyhdpws/jtM PbKjSkO5T8L/pA0iTvF9UJ/Osbl/80RA73Yg8HRbWbRyrIszsEXQoEtrSRJmxTsSOG9n 3PBIiIc+v4/DL5Ul+del1LHXUcbVFvQ7OPEOl83OU6nm1LjCab9af77WcWX9Ir0qrHus 3luPjYGbm8G/oQ6sBG1ynjHhPVrUnCX+OedH698FZRttFk+CeFTBSjQjct+G774tVZw9 m5Iw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jHs3P6oU; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-75944-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75944-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id h14-20020ac846ce000000b0042df05b25b1si10931631qto.431.2024.02.21.21.36.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 21:36:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-75944-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jHs3P6oU; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-75944-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75944-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A676E1C215FE for ; Thu, 22 Feb 2024 05:36:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 78B64107B4; Thu, 22 Feb 2024 05:36:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jHs3P6oU" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9BAD16FBE; Thu, 22 Feb 2024 05:36:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708580175; cv=none; b=mIagZEdbz5Oa5qS4YZl7gs7/Uo3+Us1y3CxZs0c0v+mW9C6yzkCOzjr8fLuU+zfz4nKFAx073Ev4JNUfhYOSdhVB47upHljWA71DvQXK+fv/Bc4NypRfD9uYzwD86PaJUN9sgyfcKrloLj5uyhkqGmfww6g382NWujDuo09fNqc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708580175; c=relaxed/simple; bh=ZKuX5+xYAEWUs36SnlYmDzgNCCJN5ePNHibRbrCTwas=; h=Message-ID:Content-Type:MIME-Version:In-Reply-To:References: Subject:From:Cc:To:Date; b=Ai5BID6OWMG+WAiPjWf9B87ca3nlsPjDcXNd2Tq70KoInW9qTbKBTdUns2fkb0qCqSB6IjGYH3XIvMeZQ+1Rls5q4OQg0gPczZ3VoVFPKm8w6++aQK8J4IA3x5zM8Q9TbnTtSv0tHBsO+HhAkkvT7P+OTICzXHZwVp3tZ01lpA0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jHs3P6oU; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1724EC433F1; Thu, 22 Feb 2024 05:36:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708580175; bh=ZKuX5+xYAEWUs36SnlYmDzgNCCJN5ePNHibRbrCTwas=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=jHs3P6oUk+p4XiiM7mMECNwtjM1DSz1rASSdYy3vsJKO7hDlvDtxjn7o10qCELTsc wAAKzn7KWLtvBDvJ5rSW8+CCwlWdJYO1o8X6rkiRWUxh8MsWd55i4zKhQHnZTHXQrF WxtRPDsZnpUlNbbDiFnqUb7TxzLI9FSydAzyNBKDnmy/SlimfIWSBF6RboO9wuei5P dVKPMhwFkxR3C9zrhvMqp1yPpVlaF7pUZv815lnLgx3C1aN6zlrpnAtkj6PjgAQ873 TJjFHZW1N4am6Ly0bOSEW7ePGV6C8nDJsNbPIs11SnanFXsIwPbppWpZ3FHu6Ghh6b wYHVHCRxR3UsQ== Message-ID: Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20240216140132.2108665-1-colin.i.king@gmail.com> References: <20240216140132.2108665-1-colin.i.king@gmail.com> Subject: Re: [PATCH][next] clk: cdce925: Remove redundant assignment to variable 'rate' 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: Wed, 21 Feb 2024 21:36:12 -0800 User-Agent: alot/0.10 Quoting Colin Ian King (2024-02-16 06:01:32) > The variable 'rate' being assigned a value that is never read, the > assignment is redundant and can be removed. >=20 > Cleans up clang scan build warning: > drivers/clk/clk-cdce925.c:104:3: warning: Value stored to 'rate' is > never read [deadcode.DeadStores] >=20 > Signed-off-by: Colin Ian King > --- Applied to clk-next