From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F15DD32D0CE for ; Mon, 27 Oct 2025 18:53:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761591204; cv=none; b=B0zxSWGI3efCTYGnpezTtFgAr/tJCXjh0pZufguiGGw6XQXWw/1hqLNEzSoGj+FiBmpk7HtqEg5r/hmbJU8T5iFFy9ZryC1yToS1xLuluaqsJujyUd38/2ETvKylon+xPDzo/j+kJjj6ATQx3dXEe6DL8YIK6pdLlxF/bMesfDs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761591204; c=relaxed/simple; bh=t4qJma7uIjoy74DpEVdep1mKe+dYyibkekKPQqoiTyM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ZhEPova9wFITlIZ57IZmYHyNg9Dnxsegn+O7bWTqM8889BGYGHgLtZ9cW597W1LWib3HE552eZ/wNftEXywkFsfRYAZaZ1ZhlGiz03lQaxp2K0myfkq51Pogfnu8r7MsQ0nRO7TbjGgK/CkRf6G7j5J1s0GuepeX1ysOF5Mv6K8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=cvWWftMD; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="cvWWftMD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 280A5C4CEFD; Mon, 27 Oct 2025 18:53:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1761591203; bh=t4qJma7uIjoy74DpEVdep1mKe+dYyibkekKPQqoiTyM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cvWWftMDTckPQwxRXbfnpEm2QoGR7doJORaubV1k6VGPZVwsfpvxonHjhpuv9YNMD cD67tjrViD9M4FnYg5QLJ3sX0pL2NHhYOMqPEGUbhz87W8bbe5AbWEdKzlDure9hYO olh9N9CjUAOUX4FSZBRSPhYFsraJuVm329irTjodNDo02KMfySqiYpAdoeQTJPDgLR KZd6mfbJ+7kYAzUaXzBt6opC/2fRkuEc2ZQNKeZDU51WSA1mKhO9SHylvRbbTprk64 zEWNcx84oY8K7t3+IOj2Kyj5aiB0/rMvE2LL7ADINH/7vbqllKN+t3VSlqbpp2rR7p iUzKPpojlUDxQ== From: Sasha Levin To: stable@vger.kernel.org Cc: Hugo Villeneuve , =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= , Greg Kroah-Hartman , Sasha Levin Subject: [PATCH 6.1.y 1/4] serial: sc16is7xx: remove unused to_sc16is7xx_port macro Date: Mon, 27 Oct 2025 14:53:18 -0400 Message-ID: <20251027185321.644316-1-sashal@kernel.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <2025102739-fable-reroute-e6a6@gregkh> References: <2025102739-fable-reroute-e6a6@gregkh> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Hugo Villeneuve [ Upstream commit 22a048b0749346b6e3291892d06b95278d5ba84a ] This macro is not used anywhere. Signed-off-by: Hugo Villeneuve Reviewed-by: Ilpo Järvinen Link: https://lore.kernel.org/r/20230905181649.134720-1-hugo@hugovil.com Signed-off-by: Greg Kroah-Hartman Stable-dep-of: 1c05bf6c0262 ("serial: sc16is7xx: remove useless enable of enhanced features") Signed-off-by: Sasha Levin --- drivers/tty/serial/sc16is7xx.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/tty/serial/sc16is7xx.c b/drivers/tty/serial/sc16is7xx.c index 63573ef8b9142..a187ae217fc4c 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 u8 sc16is7xx_port_read(struct uart_port *port, u8 reg) -- 2.51.0