Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp940156pxb; Wed, 3 Mar 2021 21:52:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJxUe/s1CByRlI4fVFCGnrVNFVlFH0jG01ZQeiGJO0ozZoW7YP8eljsHRmXn46ElHZoNM8/j X-Received: by 2002:a17:906:845b:: with SMTP id e27mr2330446ejy.487.1614837129648; Wed, 03 Mar 2021 21:52:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614837129; cv=none; d=google.com; s=arc-20160816; b=M7ab36ulfzAES1ggG7zpofjgwjgQArdilnWXBWBkOrInGjQ8Tlq7m+QvTBBREO5DwA dsBqtnffCtmPVXPCUb9sc7t23cPUUHahqOZCzF0LEqSKcf2vC0QG8ZynpyMAgtW5y8VW TKPfHMeqA1fy3dMjf9WcxxkBv8E9+YR3hQzoZPu5stY5Pa9yHFGWqHgG7fnhHSJvq729 RS+BPMh9hIr9+PaV4YrH1cul/ykj2H9FS7jsq0J1uTsLCHshr/Tams/QOM/CUGD8AhnT iPymngqDjQpFwxP21qDjDqfrvkTr46A1ePCUMONHvcHgXcg0iee8KZsoY+hT7bY8Q+w5 XAug== 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; bh=8paufOeKH/0IAg6RZYsGPZslPv0w/RlU1kGm6kkNty8=; b=b0Jlvuqj0o6VfQua3a89yvNSPwx5NwhkjsOIHq/hdGxfvW+RTm6CXNSgCav9qk7J6N QjE8qlWfUL/VNez35WPZd2xX9OqU7ezZ3boDI5aF61kHnFnrhvXspJJctz9yvoeR6puU xeliEo+p5I/CeBLjQXijQIcu2Y0rcsx0YQIp4x/2ctVTq3oKvmJrCrShe9WgDer01ZR6 TVtOHZPkRUs0ARXEY6pyUieN/7KJTjqtCnBLSiMyvm58hPIQlN/TObEJ95zykb133gWf BGrBiCHzWDo33IeLjkm1sB9Y4EiduMFHZxoWoP39/jgxkA+OzIedQeWvkqt5BQsr+hxh MpXQ== ARC-Authentication-Results: i=1; mx.google.com; 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 m19si13571302eda.352.2021.03.03.21.51.47; Wed, 03 Mar 2021 21:52:09 -0800 (PST) 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; 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 S1349427AbhCBHQ2 (ORCPT + 99 others); Tue, 2 Mar 2021 02:16:28 -0500 Received: from mx2.suse.de ([195.135.220.15]:39636 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1835878AbhCBGYU (ORCPT ); Tue, 2 Mar 2021 01:24:20 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id ED885B032; Tue, 2 Mar 2021 06:22:20 +0000 (UTC) From: Jiri Slaby To: gregkh@linuxfoundation.org Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Jiri Slaby , Chris Zankel , Max Filippov , linux-xtensa@linux-xtensa.org Subject: [PATCH 31/44] tty: xtensa/iss, remove stale comments Date: Tue, 2 Mar 2021 07:22:01 +0100 Message-Id: <20210302062214.29627-31-jslaby@suse.cz> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210302062214.29627-1-jslaby@suse.cz> References: <20210302062214.29627-1-jslaby@suse.cz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These are likely taken over from amiserial. iss doesn't do anything of that. Signed-off-by: Jiri Slaby Cc: Chris Zankel Cc: Max Filippov Cc: linux-xtensa@linux-xtensa.org --- arch/xtensa/platforms/iss/console.c | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/arch/xtensa/platforms/iss/console.c b/arch/xtensa/platforms/iss/console.c index 5d7f9c638437..3b89d9ceb06a 100644 --- a/arch/xtensa/platforms/iss/console.c +++ b/arch/xtensa/platforms/iss/console.c @@ -37,13 +37,6 @@ static struct timer_list serial_timer; static DEFINE_SPINLOCK(timer_lock); -/* - * This routine is called whenever a serial port is opened. It - * enables interrupts for a serial port, linking in its async structure into - * the IRQ chain. It also performs the serial-specific - * initialization for the tty structure. - */ - static void rs_poll(struct timer_list *); static int rs_open(struct tty_struct *tty, struct file * filp) @@ -58,17 +51,6 @@ static int rs_open(struct tty_struct *tty, struct file * filp) return 0; } - -/* - * ------------------------------------------------------------ - * iss_serial_close() - * - * This routine is called when the serial port gets closed. First, we - * wait for the last remaining data to be sent. Then, we unlink its - * async structure from the interrupt chain if necessary, and we free - * that IRQ if nothing is left in the chain. - * ------------------------------------------------------------ - */ static void rs_close(struct tty_struct *tty, struct file * filp) { spin_lock_bh(&timer_lock); -- 2.30.1