Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1224163iog; Tue, 14 Jun 2022 01:37:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+a4A3nq/U4dHOV/S0SaI1NAFEjb+swJ/7jF5+v3kizYdQqVsD8EMh9IBkgxBiD1IlvTJl X-Received: by 2002:aa7:9e9c:0:b0:51b:e1b8:271c with SMTP id p28-20020aa79e9c000000b0051be1b8271cmr3482191pfq.73.1655195844583; Tue, 14 Jun 2022 01:37:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655195844; cv=none; d=google.com; s=arc-20160816; b=nZwS/dfnO/ii/KD4KnTS8ZLjo0qYdP3twfph+SOC4ZbhdoIGdjEwE18rdZY9eZ4voi mUrEvT2PxZE0euJ63I/1E3MjB+rB8I1el91Codc6fdtokC411E1X5Xs05qYyk5I2M+Sb iD3vRllbH6jm4n69F66MZ1pzLp9JBCEAYSv7oLt3iGBFuHyiRqoQhugDtbMpMYi+oXUc j7raCZqLkmxbBABJ8dML6xTRlta8FW5M2i1/u+PoIAuxsBVFGHos47UyjzxIyK/k6fZE EqgBNDZGOxpz6cDL6r+DSgFQpatSfZbPwiqsic2LLjwgJa8vZVRxkeRTM4+oGj+dMNiM DkNA== 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=W1m3uV8jfn8loGjnEyIsZxOjd/loIhb8RwYKGBl8ER0=; b=Fux28oDXpTNW++jtjzN//GVdSp7KfmO+a/rZECrF3AlYq1eesUboMjt7Xhduoq0kAP j7txK2e9P7uSq+ER24sBITY/h3Q/lqE2K41yrf46onW6sQHn/PNE0yEhxfFY2pERm4VA wCcDMNGgx00LlCvKwdYiMQEsTllcUn68vzyCsKiF6jqi9BDufav5YSGHcXYynPwgjSMz tmH6Y4q9OMzjhzVTiZnnWr07kFbNbuoGJIfPG6KiywZiPVphe61HDDvifTX5qHBsu/WR 4J1qDC1bt5u2QHEO7VxWIapU2XtOt9AQ4tdlH3PgaY8Gitl26ASxWX85WmiNd3hyt7dq MYQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=a7GcL3nm; dkim=neutral (no key) header.i=@suse.cz header.b=ku1pyfwQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o12-20020a170902d4cc00b00153b2d16554si16799985plg.348.2022.06.14.01.37.10; Tue, 14 Jun 2022 01:37:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=a7GcL3nm; dkim=neutral (no key) header.i=@suse.cz header.b=ku1pyfwQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355497AbiFNH5b (ORCPT + 99 others); Tue, 14 Jun 2022 03:57:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355259AbiFNH5R (ORCPT ); Tue, 14 Jun 2022 03:57:17 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B49423F32A; Tue, 14 Jun 2022 00:57:16 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 1038E21B76; Tue, 14 Jun 2022 07:57:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1655193435; 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=W1m3uV8jfn8loGjnEyIsZxOjd/loIhb8RwYKGBl8ER0=; b=a7GcL3nmYA7Wmijw+ENE1MyYHXQqhcpo6+96j7rOaWb1b9qwa6xmVGMNa+yKCET4QA6G93 zMFsya4ExIfxQFbEuHIHspqwETkfSTFK0LQh0PJuDI9LcnDclMNdgehGQfEXof2OWzORHb 8lI5p7A7wQCA9R3NKKAyg0GVeyQJbT4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1655193435; 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=W1m3uV8jfn8loGjnEyIsZxOjd/loIhb8RwYKGBl8ER0=; b=ku1pyfwQE7rsCRCt/59Hi+5WyWannyBxzkFpsF7Tyi/e0duQ+nQV1SAMs4P1TH3S7E99Kv um8TsokUbzJFqeBQ== 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 DC4EB2C143; Tue, 14 Jun 2022 07:57:14 +0000 (UTC) From: Jiri Slaby To: gregkh@linuxfoundation.org Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Jiri Slaby Subject: [PATCH 2/7] tty/vt: consolemap: remove unused parameter from set_inverse_trans_unicode() Date: Tue, 14 Jun 2022 09:57:08 +0200 Message-Id: <20220614075713.32767-2-jslaby@suse.cz> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220614075713.32767-1-jslaby@suse.cz> References: <20220614075713.32767-1-jslaby@suse.cz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org conp is unused in set_inverse_trans_unicode(), remove it. Signed-off-by: Jiri Slaby --- drivers/tty/vt/consolemap.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/tty/vt/consolemap.c b/drivers/tty/vt/consolemap.c index 8aa7a48b3647..a7507c5c3154 100644 --- a/drivers/tty/vt/consolemap.c +++ b/drivers/tty/vt/consolemap.c @@ -241,8 +241,7 @@ static void set_inverse_transl(struct vc_data *conp, struct uni_pagedict *p, } } -static void set_inverse_trans_unicode(struct vc_data *conp, - struct uni_pagedict *p) +static void set_inverse_trans_unicode(struct uni_pagedict *p) { unsigned int d, r, g; u16 *inv; @@ -327,7 +326,7 @@ static void update_user_maps(void) p = *vc_cons[i].d->vc_uni_pagedir_loc; if (p && p != q) { set_inverse_transl(vc_cons[i].d, p, USER_MAP); - set_inverse_trans_unicode(vc_cons[i].d, p); + set_inverse_trans_unicode(p); q = p; } } @@ -678,7 +677,7 @@ int con_set_unimap(struct vc_data *vc, ushort ct, struct unipair __user *list) for (enum translation_map m = FIRST_MAP; m <= LAST_MAP; m++) set_inverse_transl(vc, dict, m); - set_inverse_trans_unicode(vc, dict); + set_inverse_trans_unicode(dict); out_unlock: console_unlock(); @@ -741,7 +740,7 @@ int con_set_default_unimap(struct vc_data *vc) for (enum translation_map m = FIRST_MAP; m <= LAST_MAP; m++) set_inverse_transl(vc, dict, m); - set_inverse_trans_unicode(vc, dict); + set_inverse_trans_unicode(dict); dflt = dict; return err; } -- 2.36.1