From patchwork Thu Jun 24 22:49:05 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: 12343357 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,URIBL_BLOCKED,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 16F76C49EA6 for ; Thu, 24 Jun 2021 22:53:00 +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 D89A86138C for ; Thu, 24 Jun 2021 22:52:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D89A86138C 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=xQjKxxOxYLOs31 CEpww+h40BMqY+dZrbLirk/8hfz/cOTxp/59YRNoVIRuYUYdCeNWGRExgtWnzvuMKMhCr6/HMfcJq rBeoKN0b16CTPtw9obxAUKR7s7chmzbYjAhPNuYbrqHu1Y2VEYymPp06dU+YEsPBddMwRhfm/OQ4i ljHRFLQxTt277OQb55/kIVYl+t/u4ewm3e33GlKJzWuEiPLEQCutIs75VVjVrErKwJcBJ0X4v/mNY LBxb00cGndiXtgO0asvJwGSMrnI8+MpZ9jWNO9vfMH8Qp6kP56ZM/WXScdeJGolNffqXAJP4xDuiv Ww0YbAfPqw4wvKhjNmTg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lwYCD-00GdFI-61; Thu, 24 Jun 2021 22:51:41 +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 1lwYAX-00GckP-R4 for linux-arm-kernel@lists.infradead.org; Thu, 24 Jun 2021 22:50:01 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 900E96135C; Thu, 24 Jun 2021 22:49:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624574997; bh=USEKYSV3MF6RLrnklNByiy9FC4QXCrBJGILk/V/whW4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ibY3PNADxmcGPae9zhziFcWeTm6M6h4wpoRFHkCNviC3UiEYjIIrDeiq5vVg7LJES o3tDfbIWnfvTiSwtFb5BI5buWadAuu3mdBBuDgIq7PFQbfYjn1SRRCA76fVDCBnZQX VAIh08rDYnuvJQwSaRj3KJbxT6kDRGEbfRkrfJujEwim55vExQxokoxImPodIzc7YA y5Y7E2K38NL1LNvW6+XXLfp7BwHWj6c5BSF/K7/X3A5UVvYW7xoMY9GnYEFKdrev3P sm2zCaVvscnn6JSuQ8rUXN0T/IutkQVMoyvGNQhTuWyc3YoihK4tbG1w+K5V3EReda ghELCaf8DkwUg== Received: by pali.im (Postfix) id 4BA498A3; Fri, 25 Jun 2021 00:49:57 +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?= , linux-clk@vger.kernel.org, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 06/10] serial: mvebu-uart: remove unused member nb from struct mvebu_uart Date: Fri, 25 Jun 2021 00:49:05 +0200 Message-Id: <20210624224909.6350-7-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210624224909.6350-1-pali@kernel.org> References: <20210624224909.6350-1-pali@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210624_154957_951633_4F631285 X-CRM114-Status: UNSURE ( 9.63 ) 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 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;