Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4319128pxb; Tue, 2 Mar 2021 11:59:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJx8V7cNaSpnMo53Op+6fjaN9tnebXhoT8hCQDCfYS7ppz97p67S5uN3sKhECHiJ3gV4X/dM X-Received: by 2002:a05:6402:3589:: with SMTP id y9mr22348091edc.344.1614715141077; Tue, 02 Mar 2021 11:59:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614715141; cv=none; d=google.com; s=arc-20160816; b=LOCNaNtJvpSUY0OI7P0rNk+i7PHV+8RmK8JvrginJGwrRZuTOtno/njUA9lc/NJ+h8 2uKZs0CCxfcggAHFzgwPv9+/XomhEIQyW7x8/6LrfNUQB7T8cQMXwngci2kRW4UIr1LC oTkt7pOko5TRsloB3vmgJ6J/BvsrFAlChRQM+FZYbwqleUAbojXFrIDJwoBJKZ3ceJHy xVsbptWJuE/FYcFuKAb04vJoB/CJhQEN0NvVI1KeohV8uHhomb+iRtdKXjJgNeiK8tIz 3zZjORsZ8MFjh2RVY8kXjoVlV2bWVJznfcJXPyG+61OrfzD/ov99ifq0tMs9V/zaUKUZ zqXg== 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=NJZC4lx9A/4sqMSFzYHjEMU6YMGd3NxP8PlxDUDGxlY=; b=qn0c1EBdXF4g4MA3PR3wz9ZCnHRwGngELUmJbrFUZrFsfmqFXGMktVP+3ixHaaV56w ZHUbpTtjQ2HgaDk9q+pT59fkJ2sjhjriARZgEVghQDAd7t9s8HvyfUlsKnG8lQGNJEsP 3D28ieQxFXm0VgvP2yjk9RzEOIazRINNNAH/LSsvYj227aj05oYeLq3IyI8GRiCl4Lvc 6yNR2rnvLLSRicLCFio7m9YEJUEftWF/N/9Mf6I12jnvWFJCCHIosfzlyauuQzG5eKuJ PTlKzMarkVHVJPzLlprEZIQRadXhA/SfllUVxr4qMfR/+zrVbT/yDO62KC+Z04I39+6o NvHw== 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 dj7si10947248edb.378.2021.03.02.11.58.36; Tue, 02 Mar 2021 11:59:01 -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 S1349443AbhCBHQl (ORCPT + 99 others); Tue, 2 Mar 2021 02:16:41 -0500 Received: from mx2.suse.de ([195.135.220.15]:39602 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1835877AbhCBGYU (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 93A0FB02F; 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 29/44] tty: xtensa/iss, drop serial_version & serial_name Date: Tue, 2 Mar 2021 07:21:59 +0100 Message-Id: <20210302062214.29627-29-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 There is no need to print the information during module load. Neither to print some artificial version. So drop these strings and a print. Signed-off-by: Jiri Slaby Cc: Chris Zankel Cc: Max Filippov Cc: linux-xtensa@linux-xtensa.org --- arch/xtensa/platforms/iss/console.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/arch/xtensa/platforms/iss/console.c b/arch/xtensa/platforms/iss/console.c index af81a62faba6..1179011044a7 100644 --- a/arch/xtensa/platforms/iss/console.c +++ b/arch/xtensa/platforms/iss/console.c @@ -37,9 +37,6 @@ static struct timer_list serial_timer; static DEFINE_SPINLOCK(timer_lock); -static char *serial_version = "0.1"; -static char *serial_name = "ISS serial driver"; - /* * This routine is called whenever a serial port is opened. It * enables interrupts for a serial port, linking in its async structure into @@ -149,7 +146,7 @@ static void rs_wait_until_sent(struct tty_struct *tty, int timeout) static int rs_proc_show(struct seq_file *m, void *v) { - seq_printf(m, "serinfo:1.0 driver:%s\n", serial_version); + seq_printf(m, "serinfo:1.0 driver:0.1\n"); return 0; } @@ -172,8 +169,6 @@ int __init rs_init(void) serial_driver = alloc_tty_driver(SERIAL_MAX_NUM_LINES); - pr_info("%s %s\n", serial_name, serial_version); - /* Initialize the tty_driver structure */ serial_driver->driver_name = "iss_serial"; -- 2.30.1