From patchwork Fri Jun 25 14:36:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 12345455 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=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,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 A4D4FC2B9F4 for ; Fri, 25 Jun 2021 14:40:22 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 710A561969 for ; Fri, 25 Jun 2021 14:40:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 710A561969 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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:References:In-Reply-To: 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: List-Owner; bh=QtyeQUkL91cMN/kh0p79HNWR0zkuM7QwkQZPqqT98nk=; b=cAZpizOM16iPfG RSpRBRefWmdugLZd0ZmE1UB8kYIWBJk5csylGoHjV4tGHXt/+2zBcXkKbpVYR1Obxh040QKLMmCSg YazYNGZpk44rPUYtPj5Y++6LK13Jeuul+SFVVy1vFLUOUAdoHLrqoJ2xM4l++s+esal+P9E4GZNtj XOptuVxw231kShJ71tmvKx8qKnap13xiApX4UIT+UUD0675dWkQ08akWs+pFqp/O3GA+UQuIpJd8h OpCP3DtQsgRJwZbDe8aUAKqj2tfblbpFjkKexWENkK63WFU058wjLj+d4xQvmdU6p3V4cvWSYaECn 31OxPFGLVhs45rsnD3QA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lwmys-001yYM-1Q; Fri, 25 Jun 2021 14:38:54 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lwmx3-001y0w-81 for linux-arm-kernel@lists.infradead.org; Fri, 25 Jun 2021 14:37:02 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id D1C4361963; Fri, 25 Jun 2021 14:37:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624631821; bh=USEKYSV3MF6RLrnklNByiy9FC4QXCrBJGILk/V/whW4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dZ9SxczMeMxo3LnNMVk3zFGWezNK0KVoo2dVRteE4nTQ9UwIogSiiOxp3BvlaOJIo obAuIS/KwI2t1mmG7QB45GbaG97Jc43kELdhLw+X+wPLHDVcYwg2ZiIkfZqy+tIbEm TlUZgzW4V/MYYT8gPBE43Bdiz2e+l0tMN/+EsqKV3XrBFgPSZMOGWHfK7CZ2CI/jpB 1ezA50IQuToW/X5jbiQ53wdlo2T5DSwSS1yRoceMyI84Bvm6NmpAsZwi1ZcWRzVdnU fgQgLut5BrUSaqBDYZSg584TriSUzKsrqozKhXeNhma8DIyLVEygAWBkyL8OccEOaZ o8ZK3mFR9yMKQ== Received: by pali.im (Postfix) id 910DD60E; Fri, 25 Jun 2021 16:37:00 +0200 (CEST) From: =?utf-8?q?Pali_Roh=C3=A1r?= To: Michael Turquette , Stephen Boyd , Rob Herring , Greg Kroah-Hartman Cc: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Vladimir Vid , =?utf-8?q?Marek_Beh=C3=BAn?= , Geert Uytterhoeven , linux-clk@vger.kernel.org, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 06/11] serial: mvebu-uart: remove unused member nb from struct mvebu_uart Date: Fri, 25 Jun 2021 16:36:12 +0200 Message-Id: <20210625143617.12826-7-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210625143617.12826-1-pali@kernel.org> References: <20210624224909.6350-1-pali@kernel.org> <20210625143617.12826-1-pali@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210625_073701_321288_E6B016D8 X-CRM114-Status: GOOD ( 10.19 ) 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 Member nb in struct mvebu_uart is not set nor read. So remove it completely. Signed-off-by: Pali Rohár --- drivers/tty/serial/mvebu-uart.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/tty/serial/mvebu-uart.c b/drivers/tty/serial/mvebu-uart.c index f8b0016db847..414e92064ac6 100644 --- a/drivers/tty/serial/mvebu-uart.c +++ b/drivers/tty/serial/mvebu-uart.c @@ -128,7 +128,6 @@ struct mvebu_uart { struct uart_port *port; struct clk *clk; int irq[UART_IRQ_COUNT]; - unsigned char __iomem *nb; struct mvebu_uart_driver_data *data; #if defined(CONFIG_PM) struct mvebu_uart_pm_regs pm_regs;