From patchwork Thu Sep 2 23:03:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 12473319 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1C3C6C433F5 for ; Thu, 2 Sep 2021 23:03:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id ED087610A2 for ; Thu, 2 Sep 2021 23:03:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347954AbhIBXEk (ORCPT ); Thu, 2 Sep 2021 19:04:40 -0400 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:54511 "EHLO wout5-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347937AbhIBXEj (ORCPT ); Thu, 2 Sep 2021 19:04:39 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id DA9DD3200A07; Thu, 2 Sep 2021 19:03:39 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Thu, 02 Sep 2021 19:03:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm3; bh=rspByYKuMKIepMHyyNh663Mha1 e5KFmbBZesXve1h4E=; b=Y0cL7CLS5ViYIqVAo05a015lr+HQYQsd7VYzXNNKWa 13TZkpDQHih598d6KPLoKVum/DwLmsNGRapKyAVrBnhwDoNo+JEVw770Zj166qIB U0OKv2Rt2xR1lSVhV7TjxPoRIa18Xuw9b09ytUuVwmOvbmDrAjeeB/lJqufaJOyb ybXI8sybibSFVNXkQACgvAx9gfsoUo9j4G5ritP8Z1GYAJ3i0yNSOWFStkftCKNu X8qhFUFjTgVojrNNK7lWzQv909GXhmuyzLRcTwuI++gv1nWWZtzX9ncT3y2S5INm yRJI23pveKJ9b2mHw8qCzweArmNVuEM9m08CY0TBdPXQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=rspByYKuMKIepMHyy Nh663Mha1e5KFmbBZesXve1h4E=; b=CkF45+BL10r7keKriqqtoCKGjGVFBfZBb qdl+9Ib3UQllupWcKAtr4yQKgw2i0boSqWvwgJjgS9H9OUyNPD2tjoJy29MtNGk1 UA6VHuYXnMKB7dnY1rCg19oK6LDK94iI0Z8ywRzqQAMFWgXZqxAblyfgsWGpnBHC 3ifLwumOB3XF6UPTbbeXtfe03cJhFOX8rNyr+Ow8lJOrPowjwleZFasIcJlEpc3i Dg++0kDMXyYJq7U/kes5WkZcK1VTozFb5LQAmCvf2P35x7Oib+LxBoZzIOc+NMA/ 29RyA7r6pVEaorlQygb41Tad5sCKwP4Xny87KKNYMBQPB2ga7Xftw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddruddviedgudekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgvlhcu jfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtffrrg htthgvrhhnpeeiteekhfehuddugfeltddufeejjeefgeevheekueffhffhjeekheeiffdt vedtveenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hsrghmuhgvlhesshhhohhllhgrnhgurdhorhhg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 2 Sep 2021 19:03:37 -0400 (EDT) From: Samuel Holland To: Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec , Michael Turquette , Stephen Boyd Cc: linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Samuel Holland Subject: [PATCH] clk: sunxi-ng: mux: Remove unused 'reg' field Date: Thu, 2 Sep 2021 18:03:36 -0500 Message-Id: <20210902230336.29745-1-samuel@sholland.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org The driver uses 'reg' from 'struct ccu_common' everywhere, so this duplicate field is unused and unnecessary. Remove it. Signed-off-by: Samuel Holland --- drivers/clk/sunxi-ng/ccu_mux.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clk/sunxi-ng/ccu_mux.h b/drivers/clk/sunxi-ng/ccu_mux.h index f165395effb5..e31efc509b3d 100644 --- a/drivers/clk/sunxi-ng/ccu_mux.h +++ b/drivers/clk/sunxi-ng/ccu_mux.h @@ -40,7 +40,6 @@ struct ccu_mux_internal { _SUNXI_CCU_MUX_TABLE(_shift, _width, NULL) struct ccu_mux { - u16 reg; u32 enable; struct ccu_mux_internal mux;