From patchwork Tue Sep 5 18:16:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hugo Villeneuve X-Patchwork-Id: 720342 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CC6DDCA0FFA for ; Tue, 5 Sep 2023 18:41:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233153AbjIESlL (ORCPT ); Tue, 5 Sep 2023 14:41:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233723AbjIESlL (ORCPT ); Tue, 5 Sep 2023 14:41:11 -0400 Received: from mail.hugovil.com (mail.hugovil.com [162.243.120.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0491D94; Tue, 5 Sep 2023 11:40:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hugovil.com ; s=x; h=Subject:Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Cc:To :From:subject:date:message-id:reply-to; bh=fKxlbdzabD3Saden8VRLorZNiqzEPZ7U7JMuIaJDyXs=; b=UVmq0rIivHqRG+O7xrnEYhHB9g 8PJzGa/vYgfuRyH+wlSBILQxDWmTaBSmkD4S0L8FDLUMXy7jPI7msw6iQ11ZccwxwowIQxLm3pSHu X2qX4Rla6ja+LoDuKz5jlq2hU7g9eKVjFARf0pluwrU+Z3KpR6fPq20rk1+HutiOGb98=; Received: from modemcable061.19-161-184.mc.videotron.ca ([184.161.19.61]:46604 helo=localhost.localdomain) by mail.hugovil.com with esmtpa (Exim 4.92) (envelope-from ) id 1qdacA-0004nV-U3; Tue, 05 Sep 2023 14:17:27 -0400 From: Hugo Villeneuve To: Greg Kroah-Hartman , Jiri Slaby Cc: hugo@hugovil.com, Hugo Villeneuve , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Date: Tue, 5 Sep 2023 14:16:50 -0400 Message-Id: <20230905181649.134720-1-hugo@hugovil.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 184.161.19.61 X-SA-Exim-Mail-From: hugo@hugovil.com Subject: [PATCH] serial: sc16is7xx: remove unused to_sc16is7xx_port macro X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on mail.hugovil.com) Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org From: Hugo Villeneuve This macro is not used anywhere. Signed-off-by: Hugo Villeneuve --- drivers/tty/serial/sc16is7xx.c | 1 - 1 file changed, 1 deletion(-) base-commit: 3f86ed6ec0b390c033eae7f9c487a3fea268e027 diff --git a/drivers/tty/serial/sc16is7xx.c b/drivers/tty/serial/sc16is7xx.c index f61d98e09dc3..d8534580c6d5 100644 --- a/drivers/tty/serial/sc16is7xx.c +++ b/drivers/tty/serial/sc16is7xx.c @@ -358,7 +358,6 @@ static struct uart_driver sc16is7xx_uart = { static void sc16is7xx_ier_set(struct uart_port *port, u8 bit); static void sc16is7xx_stop_tx(struct uart_port *port); -#define to_sc16is7xx_port(p,e) ((container_of((p), struct sc16is7xx_port, e))) #define to_sc16is7xx_one(p,e) ((container_of((p), struct sc16is7xx_one, e))) static int sc16is7xx_line(struct uart_port *port)