Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp51627pxf; Wed, 24 Mar 2021 20:42:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz7/zjW2l/RLN9IrcERIZeSRMvPb5b4tmwns6GFk+bHcPvmfYMk6S1dctxoGKZFdZyxXN+Q X-Received: by 2002:a17:906:edca:: with SMTP id sb10mr6931744ejb.398.1616643761915; Wed, 24 Mar 2021 20:42:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616643761; cv=none; d=google.com; s=arc-20160816; b=iz0tWwt0jA5O8zMTklGtLMum6Tn6t+m6BqvPF82Trb8Lszj6HPzWtbQlMS0ymsUteu 4vnTd+UbzSQMZvMEbDDao3ld3gnIBJGGA1+5kE74TveZU+zFD/AaAUBFCelRO2fywGBx lvFOkcWOcNEmeqtxWTdTzM6xU6c30uoWKQ4kVmXC9dkF5rKQNQock0bZvCbfeXD6fq6R M0RGiHXU3U0XZejpdaiDadio6qH8NFSdiiJXRwb0SvMpMyrM3WUqEHUAln/DqW4MMuj7 NNhTzYrSw+XLca4NyiR6zoAQ5KHJpUrt5fgIocLlJEaJo74x/R8koAO8lWM6gXMGcvmf 66JA== 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 :message-id:date:subject:cc:to:from; bh=SKrQvDOK2HSKioW4omOkH3AtN1XGtBMAaiq14TT4Kqc=; b=x6jyZ5H8bIAOwn8VgvwF3TeXxezYIrD+U2pcpmFeYLWm4wrr6k6XWVC+gVGJ1r+YDz MgVkmdN00Tg3o+eG2UOY7rF24zLkGlVT4xnIJ5khPdvQZC/w9KcCQhN9DcGLcbsMWj8U 7u4QUIs7JAyZftMzLUrpatDM47WdOh+cy5jQ/70cB3ZTC1/TNJe9JawwZ87IYSR84OqS MCv4vF9Ac9/xmZdqD6BbQJHyEogjWDzDKcBrONEKiTcx5IC4ESGqJ1YXIQAEpIpuv1Kx +mnD2i0QlB4FPIdik0Jy5UAuN5/KF/ozhcFCdrDa2CsaMoKf66zk53wmsAE4MeKqXE1j dUeQ== 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=vivo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b14si3390217ede.310.2021.03.24.20.42.19; Wed, 24 Mar 2021 20:42:41 -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=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235887AbhCYC2H (ORCPT + 99 others); Wed, 24 Mar 2021 22:28:07 -0400 Received: from mail-m17637.qiye.163.com ([59.111.176.37]:15504 "EHLO mail-m17637.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232495AbhCYC1i (ORCPT ); Wed, 24 Mar 2021 22:27:38 -0400 Received: from wanjb-virtual-machine.localdomain (unknown [36.152.145.182]) by mail-m17637.qiye.163.com (Hmail) with ESMTPA id C5FE69801D3; Thu, 25 Mar 2021 10:27:35 +0800 (CST) From: Wan Jiabing To: Thomas Gleixner , Sergey Senozhatsky , Petr Mladek , Peter Zijlstra , Andy Shevchenko , Wan Jiabing , linux-kernel@vger.kernel.org Cc: kael_w@yeah.net Subject: [PATCH] include: linux: debug_locks: Remove duplicate declaration Date: Thu, 25 Mar 2021 10:26:58 +0800 Message-Id: <20210325022707.840531-1-wanjiabing@vivo.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgYFAkeWUFZS1VLWVdZKFlBSE83V1ktWUFJV1kPCR oVCBIfWUFZTkxLHxpDH0tJGE0ZVkpNSk1NSEJJTk1LSkJVEwETFhoSFyQUDg9ZV1kWGg8SFR0UWU FZT0tIVUpKS0hKTFVLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6NTo6Fww6Iz8WSz8DDTI2EzA1 LjlPCU9VSlVKTUpNTUhCSU5NQ0JOVTMWGhIXVQwaFRESGhkSFRw7DRINFFUYFBZFWVdZEgtZQVlI TVVKTklVSk9OVUpDSVlXWQgBWUFKTEtONwY+ X-HM-Tid: 0a7867356580d992kuwsc5fe69801d3 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org struct task_struct is declared at 9th line. Remove the duplicate. Signed-off-by: Wan Jiabing --- include/linux/debug_locks.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/debug_locks.h b/include/linux/debug_locks.h index 2915f56ad421..0b3187a5290d 100644 --- a/include/linux/debug_locks.h +++ b/include/linux/debug_locks.h @@ -46,7 +46,6 @@ extern int debug_locks_off(void); # define locking_selftest() do { } while (0) #endif -struct task_struct; #ifdef CONFIG_LOCKDEP extern void debug_show_all_locks(void); -- 2.25.1