From nobody Tue Feb 10 02:44:14 2026 Received: from relmlie6.idc.renesas.com (relmlor2.renesas.com [210.160.252.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3A89231618B; Mon, 27 Oct 2025 15:46:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.160.252.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761580005; cv=none; b=cVRdMRbYOo6QrheZEURQyZzuyvd5dLCfv8LB9YEDKQ4VqEI/pg8U2hTCv4pJsOc66EbhBiegxT3/eG0R8j4nGhvtPRiNT1dH/FMKd6lTIwvoX3nztiC3QqVoBqySqZMS/x7Ez2HECTAPo5tT6NNkLkoMp5T6I1K6U2ozDQr9vFs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761580005; c=relaxed/simple; bh=ualHeG+rP981M5bcFFLj4A2fm5SUEK/y45ZGWLg7SMc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=nrw4kZoC4DDsicIOkFY4MJnLcKuWPM20fvSRmha1fMLMIq92vSSPfY1l0KO0zu+0c7X8dY+MP7unJPuVE2YVP7FC+FqIiXijXYq8hr1pY5+DkUX9goZ2+uT6rwGHx2RvUiVo5bgXVDxOi/9ob8roY3ZhRlMd8qC+vF7CIMYzbmA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=bp.renesas.com; spf=pass smtp.mailfrom=bp.renesas.com; arc=none smtp.client-ip=210.160.252.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=bp.renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bp.renesas.com X-CSE-ConnectionGUID: RJ+gNjPDSJ+K7fgg2cXk+w== X-CSE-MsgGUID: +K1/hVovQ0W4nQUoML4HXQ== Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 28 Oct 2025 00:46:42 +0900 Received: from localhost.localdomain (unknown [10.226.93.103]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 7129B4003EA1; Tue, 28 Oct 2025 00:46:39 +0900 (JST) From: Biju Das To: Greg Kroah-Hartman , Jiri Slaby Cc: Biju Das , Geert Uytterhoeven , Lad Prabhakar , Wolfram Sang , Claudiu Beznea , Nam Cao , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, Biju Das , linux-renesas-soc@vger.kernel.org Subject: [PATCH 05/19] serial: rsci: Drop rsci_clear_CFC() Date: Mon, 27 Oct 2025 15:45:52 +0000 Message-ID: <20251027154615.115759-6-biju.das.jz@bp.renesas.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251027154615.115759-1-biju.das.jz@bp.renesas.com> References: <20251027154615.115759-1-biju.das.jz@bp.renesas.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Drop rsci_clear_CFC() by reusing rsci_clear_SCxSR() as the contents of both functions are the same. Signed-off-by: Biju Das --- drivers/tty/serial/rsci.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/tty/serial/rsci.c b/drivers/tty/serial/rsci.c index 3e1f4b3c4e59..504361ed5ecc 100644 --- a/drivers/tty/serial/rsci.c +++ b/drivers/tty/serial/rsci.c @@ -199,11 +199,6 @@ static unsigned int rsci_get_mctrl(struct uart_port *p= ort) return 0; } =20 -static void rsci_clear_CFC(struct uart_port *port, unsigned int mask) -{ - rsci_serial_out(port, CFCLR, mask); -} - static void rsci_start_tx(struct uart_port *port) { struct sci_port *sp =3D to_sci_port(port); @@ -275,7 +270,7 @@ static void rsci_transmit_chars(struct uart_port *port) break; } =20 - rsci_clear_CFC(port, CFCLR_TDREC); + rsci_clear_SCxSR(port, CFCLR_TDREC); rsci_serial_out(port, TDR, c); =20 port->icount.tx++; --=20 2.43.0