From patchwork Thu May 9 00:14:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Dr. David Alan Gilbert" X-Patchwork-Id: 13659294 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 CBC1CC04FFE for ; Thu, 9 May 2024 00:16:08 +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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Y/4SNNWhAs2RvLCN/loGKrq/U/DkU5H2II0w5vxSw0U=; b=n/6CtO00IL/7Rm 997aqUPsFNHGC3GxOv6PSk1m5HndtjtjJ5XLnBMpdsJQQ7DP5Dw1QURGt03aPs0pYxfU8ExkymdoL vnPJnipQ8k8GtlD4pS2+bD4YzWISdwWXPjWHoru1DMFQxmzcYOx6u8BnOEmE5bXMHfcszs9YZmUCK /bpqA2zXmKNCwAURGdHEjAtx5u9bSmTk3cQMMzv/Jaj09EK+Gx5A6w3gk5pKLw3+sQ+yWZbOuZqq8 g/ohVnF/Dd/pwoNa5yOI5vMJU/wr/59lZ8RBY02r4owP32jbGnKZ3s33BxzdAcct2Gu6Qej/ofB1i zq0u+CxSu5/0Bx72L6YQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s4rRv-0000000HNOI-1lzf; Thu, 09 May 2024 00:15:51 +0000 Received: from mx.treblig.org ([2a00:1098:5b::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s4rRr-0000000HNNE-3Odl for linux-arm-kernel@lists.infradead.org; Thu, 09 May 2024 00:15:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=ibZmhWOcAPt5MRyyHxS6k6eiW0UrUpeBxWHVWTgQMZI=; b=qReoNlXSvSpRc1oG HKfjcTA3QJ6Fe4yfw9n71QiiNt1heHEfx/WBhH4boIUqgyxFgBtFn54/Qc3qYJ+Gn5jHdbKzQyPZ6 SnsuWWWv13JZFBcRrs4tTID/RM25NN4WXlGJHLK32Z9K12T4WwHH/sW5kTPYsA5M1QF0WoHaQurZv Yo9XxLhn9XRO/vOCEc9w2EjpgCYcDCf+DkcHSa1/Vd+Cg5zWGdlXhW3OuizeS6+eCUSNT+O1lZ8bA LF78ovlTsEzf86SiuCPg7rCXjqCaUd1rjBVZcNe91+zxmH9Xr62MM3ZqjGCVfj4byM9RF1PT461HG DW5M61SBRRfo30L9/w==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1s4rRf-00074W-0w; Thu, 09 May 2024 00:15:35 +0000 From: linux@treblig.org To: emilio@elopez.com.ar, mturquette@baylibre.com, wens@csie.org Cc: linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, "Dr. David Alan Gilbert" Subject: [PATCH] clk: sunxi: Remove unused struct 'gates_data' Date: Thu, 9 May 2024 01:14:52 +0100 Message-ID: <20240509001452.204929-1-linux@treblig.org> X-Mailer: git-send-email 2.45.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240508_171547_971025_1183155A X-CRM114-Status: UNSURE ( 7.62 ) X-CRM114-Notice: Please train this message. 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: "Dr. David Alan Gilbert" 'gates_data' (and it's associated define) are unused since Commit ee38b2698ae2 ("clk: sunxi: Add a simple gates driver"). Remove them. Signed-off-by: Dr. David Alan Gilbert --- drivers/clk/sunxi/clk-sunxi.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/drivers/clk/sunxi/clk-sunxi.c b/drivers/clk/sunxi/clk-sunxi.c index 5fe7049ea693a..4999504f7e60d 100644 --- a/drivers/clk/sunxi/clk-sunxi.c +++ b/drivers/clk/sunxi/clk-sunxi.c @@ -852,17 +852,6 @@ CLK_OF_DECLARE(sun8i_axi, "allwinner,sun8i-a23-axi-clk", sun8i_axi_clk_setup); - -/* - * sunxi_gates_clk_setup() - Setup function for leaf gates on clocks - */ - -#define SUNXI_GATES_MAX_SIZE 64 - -struct gates_data { - DECLARE_BITMAP(mask, SUNXI_GATES_MAX_SIZE); -}; - /* * sunxi_divs_clk_setup() helper data */