Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp496258pxb; Tue, 14 Sep 2021 02:17:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1BS2j24eckKAg0WbyUZU1EZye0VwcRsKz3Y8ed4bmuBJLtSp4QzWEE3ndd8YJ7rRZoGP9 X-Received: by 2002:a92:d5c5:: with SMTP id d5mr3843776ilq.36.1631611050214; Tue, 14 Sep 2021 02:17:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631611050; cv=none; d=google.com; s=arc-20160816; b=c4LMuVzcDp5VxuGzpZByh+amZq5I+47d4LGMQXqfP0+b5AwjGHX18iGGvFzxv1qxnP 8LGd6VSUCXKKuf1FUUEOSnYfTdb9zCjNqtAawYlVV+RU2lXzTHvXAZZTSXhBroAg5FeO IeCez7v1HHKVUh8tY56CRwJb+JWY5uTKyHKe1iaVbqQhjONpTza5Ib01UVOgdAr+SOzN ENwjXvF9unq9eGqP2Cb0BkSIkVJkRiCfREDv8UXfkcz8ODe2xDHJv73mI8UORiqGgQTV b+soCowWLZnFNY5mOJTt5tb8FXGXUWEj5iseqTal631tG0DO/6+ROE/i3A313gwefzzO UkKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=ptWzO8anEDZUJbbMX+rmrDqkj4g7V1LAPYQTnvJTFXg=; b=t6RGhRswQA07gQeQSptcZCMiS4EIFztxSG7LyUqWrfjC+tM1wUs+r0hcJWAS/rmxTF SyrF0f6MD+ZubsrRGvHSyBan9nkftxzsxFXt2gVeLRs7xp5tPSATrqvdd6Uf115yasdV qWYO/Zx4ED40UXRXjSCd+463InUeY63f7KfdaV0h1oxc2JMPcapO3r12hnKWj3BVR6sD rlW54qvLNcuhR7bwm+926unuyftFR9JTEFawnxhcCLijPa9ztFRU2SsTeBuxtp5Xbkg6 gz0uaP/hJSnuu5MWkQfMUzLVtFAW5zzQJ0mUqnrlwwAmiyc5VG5BAu8JxA6ZvATkmt+p bl6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=VxAY61NZ; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d3si9751340ilu.98.2021.09.14.02.17.18; Tue, 14 Sep 2021 02:17:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=VxAY61NZ; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231159AbhINJQL (ORCPT + 99 others); Tue, 14 Sep 2021 05:16:11 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:34600 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230208AbhINJPi (ORCPT ); Tue, 14 Sep 2021 05:15:38 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 90616220D5; Tue, 14 Sep 2021 09:14:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1631610860; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ptWzO8anEDZUJbbMX+rmrDqkj4g7V1LAPYQTnvJTFXg=; b=VxAY61NZ/P6DOUa6H3xqGUUv578TxOdU6CuArvd+ibeyzofdUaNtb0pyvRPjOomZGIGigT 6AlfkON4urLAhMkMy3UpqirnpubXkYA6s9n9JYyJR/8p3IzBfvRAcW2DuWcl/6ZVXOPR2H QfE+ucrgDaqiwUgURcw7ttn3GwqYwLQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1631610860; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ptWzO8anEDZUJbbMX+rmrDqkj4g7V1LAPYQTnvJTFXg=; b=g1nTVx8iBsjCS2nrbWqPE3UpsXMNJjK0zM1J7NgKQsgQxrNlEufvPp9hkPibYpKIjTpGg2 XJQVUK8LpQ4ZU+BQ== Received: from localhost.localdomain (unknown [10.100.201.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 74E02A3B9E; Tue, 14 Sep 2021 09:14:20 +0000 (UTC) From: Jiri Slaby To: gregkh@linuxfoundation.org Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Jiri Slaby Subject: [PATCH 16/16] tty: drop tty_flip_buffer_push Date: Tue, 14 Sep 2021 11:14:15 +0200 Message-Id: <20210914091415.17918-9-jslaby@suse.cz> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210914091415.17918-1-jslaby@suse.cz> References: <20210914091134.17426-1-jslaby@suse.cz> <20210914091415.17918-1-jslaby@suse.cz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since commit a9c3f68f3cd8d (tty: Fix low_latency BUG) in 2014, tty_flip_buffer_push() is only a wrapper to tty_schedule_flip(). All users were converted, so remove tty_flip_buffer_push() completely. One less exported function. Signed-off-by: Jiri Slaby --- drivers/tty/tty_buffer.c | 17 ----------------- include/linux/tty_flip.h | 1 - 2 files changed, 18 deletions(-) diff --git a/drivers/tty/tty_buffer.c b/drivers/tty/tty_buffer.c index 635d0af229b7..19b44639c464 100644 --- a/drivers/tty/tty_buffer.c +++ b/drivers/tty/tty_buffer.c @@ -550,23 +550,6 @@ static void flush_to_ldisc(struct work_struct *work) } -/** - * tty_flip_buffer_push - terminal - * @port: tty port to push - * - * Queue a push of the terminal flip buffers to the line discipline. - * Can be called from IRQ/atomic context. - * - * In the event of the queue being busy for flipping the work will be - * held off and retried later. - */ - -void tty_flip_buffer_push(struct tty_port *port) -{ - tty_schedule_flip(port); -} -EXPORT_SYMBOL(tty_flip_buffer_push); - /** * tty_buffer_init - prepare a tty buffer structure * @port: tty port to initialise diff --git a/include/linux/tty_flip.h b/include/linux/tty_flip.h index 9916acb5de49..7efef54df932 100644 --- a/include/linux/tty_flip.h +++ b/include/linux/tty_flip.h @@ -16,7 +16,6 @@ int tty_insert_flip_string_fixed_flag(struct tty_port *port, const unsigned char *chars, char flag, size_t size); int tty_prepare_flip_string(struct tty_port *port, unsigned char **chars, size_t size); -void tty_flip_buffer_push(struct tty_port *port); void tty_schedule_flip(struct tty_port *port); int __tty_insert_flip_char(struct tty_port *port, unsigned char ch, char flag); -- 2.33.0