Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3153863pxj; Mon, 7 Jun 2021 03:51:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZ2MLnpxxiWGuUMopg4jC3noxtB3ImQUsxTv8nDFwWU0YcT45cpvlptu6Pfr0MmNaLg/N1 X-Received: by 2002:a50:eb92:: with SMTP id y18mr14362169edr.249.1623063062251; Mon, 07 Jun 2021 03:51:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623063062; cv=none; d=google.com; s=arc-20160816; b=Cx9uOjP/DWZJdSzmVBmmZ9/SJTW6dH8E69V64dewDgCELMzzJCmQRoEDM/DEDzhsVK ACzzMFbSP3BwvhZm0lqTmSstJ8oAbMKBEMBfw7wsZ78FQPhVfMD6mKFeDQIxK2vPNYeY DeqobT39iF414+YkKez404KNWgzYHLeg9CsQGGt0NjhQpET3pTKeiMen8PkSE+3PBDNH PEWEVtivJX6hcpMama61MzKrSDoG5MpPUWmEO5llE5PUhEi9TXKUQxSvAytCyMt5pjUF 5ZrUXl1aCNEz5QLeU1IyPfNe6MWn7awghGVS72bm7oEhvZYG9zmLhlNAmDnK4jcNQJOe ZR0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=7cG+f8+WuN6jHCjqWhOZWY2KG5u+P+jgMkWmYVmnh7c=; b=tmK9YBJei8yoOJ9NCK9xWa/txPKdiTI3MYKSuqwGKTSq+Tc7y/RjFjl8lIe8DokCbo AUYjf5KpTCeaMkfqIrfNIV5A6nQm9cmU/ARmfuOqvF0xK2Wu0SKo+WxLzs5a3dkPkRzr 4ciwbmI4yuMX65L1UBjYuYaToreDg3xGGelI7ZMIvEgBIToZ+Kvr7XqIzHKHaATlHhsm Y314GxYki8+U04uXNBjbM7c8WqHRlFeGPVq205ikC+LVepHVxOE1u4XUWCbcuFSsTdg5 27O0VrAjhzLFvqlT7S2IREB3x9Duq8ZKOqzukDifIJ3WoJ99nWD/e/bFDbac2G8mON6k 64nQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=hisilicon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hr40si11945664ejc.41.2021.06.07.03.50.39; Mon, 07 Jun 2021 03:51:02 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=hisilicon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230405AbhFGKvE (ORCPT + 99 others); Mon, 7 Jun 2021 06:51:04 -0400 Received: from szxga08-in.huawei.com ([45.249.212.255]:4336 "EHLO szxga08-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230139AbhFGKvD (ORCPT ); Mon, 7 Jun 2021 06:51:03 -0400 Received: from dggemv704-chm.china.huawei.com (unknown [172.30.72.54]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4Fz93S6hLMz1BKYB; Mon, 7 Jun 2021 18:44:20 +0800 (CST) Received: from dggpeml500023.china.huawei.com (7.185.36.114) by dggemv704-chm.china.huawei.com (10.3.19.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Mon, 7 Jun 2021 18:49:10 +0800 Received: from localhost.localdomain (10.69.192.56) by dggpeml500023.china.huawei.com (7.185.36.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Mon, 7 Jun 2021 18:49:10 +0800 From: Shaokun Zhang To: CC: Shaokun Zhang , Jiri Slaby , Greg Kroah-Hartman Subject: [PATCH] vt: vt_kern.h, remove the repeated declaration Date: Mon, 7 Jun 2021 18:48:53 +0800 Message-ID: <1623062933-52943-1-git-send-email-zhangshaokun@hisilicon.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To dggpeml500023.china.huawei.com (7.185.36.114) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Function 'vt_set_led_state' is declared twice, so remove the repeated declaration. Cc: Jiri Slaby Cc: Greg Kroah-Hartman Signed-off-by: Shaokun Zhang --- include/linux/vt_kern.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/vt_kern.h b/include/linux/vt_kern.h index 94e7a315479c..0da94a6dee15 100644 --- a/include/linux/vt_kern.h +++ b/include/linux/vt_kern.h @@ -166,7 +166,6 @@ int vt_get_kbd_mode_bit(int console, int bit); void vt_set_kbd_mode_bit(int console, int bit); void vt_clr_kbd_mode_bit(int console, int bit); void vt_set_led_state(int console, int leds); -void vt_set_led_state(int console, int leds); void vt_kbd_con_start(int console); void vt_kbd_con_stop(int console); -- 2.7.4