Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp506549pxf; Thu, 25 Mar 2021 08:24:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyOVYhVFplhrr+K6l2rO040P+S85RlDBmRiFxgmbN8EZHgxp+xA6EsJ+k48PX7H/R0V/6lm X-Received: by 2002:a05:6402:354d:: with SMTP id f13mr9793062edd.228.1616685896773; Thu, 25 Mar 2021 08:24:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616685896; cv=none; d=google.com; s=arc-20160816; b=SouqWByr/2t31QZNw+Sye0nfLIRMUbDPXKmvFoPHy2GC+oMaLqrlQQqMBVwe3KaYgv 3/NIfNbnwT8X0uCNy54dJLhoe89M9Qe6AA7kkAoaAikYC6aEg1rXNi68SgtHuDuKD+l2 eSmAJDrZMTu+vYcx42E+CxmtL2D7taPjrjL2iycpuj0kL1l5t9dZ9NerffS46G/97cv0 G0FRA31wElAnrHYk9pkqZ6+IMm2Ze7nCEbm+pp/5vO/X7r+jdMS2JmpE7Hk5sYxyk3pv lMfJOhdHVNDqwR4J9gQDqUvJFY8Vieh6jFdwGS6T107Dc1DShKXqWcsyHBjLwVjbUF1d OxMA== 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=4hJVxhF+mK/zYnrTRN+CRyOb79/HxO8lNvDMGJ5Rfo4=; b=ESYYUFzixp1W2SuzMJXs8s3OGg5j87fGRXH0SmbFqMtfP2NqwQZn/kaRLrnU7VoSXc ny0le5+Fpahfo8rdVvt8+xB2c8xVb28JpzS832XCZbaT8EvD6frPrByC7tE0WAKueH2X ry/CpWRjZKn34SfeFONqdygZ72bFtoB7EBBFwCq0anh4T47tCrg5j4ksi15kavtsqBCY eVTZJTQNdBSyk0/hV3ZO6FThxqI0RfecaeQL/57ip1dKOZ1NDwTTHOrBA2Ntcw1CGhZ/ 45H7xuuJFn5Y89i2w+mrEGtVSzT270LevwiFZuAI5FVAovv0Jmf3h+SZxSM1n6BZPOwx 89sA== 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 oq7si4793402ejb.655.2021.03.25.08.24.31; Thu, 25 Mar 2021 08:24:56 -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 S231177AbhCYPVR (ORCPT + 99 others); Thu, 25 Mar 2021 11:21:17 -0400 Received: from mail-m17637.qiye.163.com ([59.111.176.37]:43832 "EHLO mail-m17637.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230242AbhCYPVN (ORCPT ); Thu, 25 Mar 2021 11:21:13 -0400 Received: from localhost.localdomain (unknown [180.111.236.218]) by mail-m17637.qiye.163.com (Hmail) with ESMTPA id 26AB9980144; Thu, 25 Mar 2021 23:21:09 +0800 (CST) From: Wan Jiabing To: Thomas Gleixner , Wan Jiabing , Andy Shevchenko , Peter Zijlstra , Sergey Senozhatsky , linux-kernel@vger.kernel.org Cc: keal_w@yeah.net Subject: [PATCH] [v2] include: linux: debug_locks: Remove duplicate declaration Date: Thu, 25 Mar 2021 23:20:28 +0800 Message-Id: <20210325152029.4976-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 oVCBIfWUFZSEodGBkdGB8YQhgaVkpNSk1NQ05NTUJISU5VEwETFhoSFyQUDg9ZV1kWGg8SFR0UWU FZT0tIVUpKS0hKQ1VLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6MRg6Szo*GD8QOD0BOBQIAwIf EkxPCxxVSlVKTUpNTUNOTU1CTU1LVTMWGhIXVQwaFRESGhkSFRw7DRINFFUYFBZFWVdZEgtZQVlK Q0tVSkpKVUlITVVJSkNZV1kIAVlBSkxJSTcG X-HM-Tid: 0a7869f99b8fd992kuws26ab9980144 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org struct task_struct has been declared. Remove the duplicate. Signed-off-by: Wan Jiabing --- Changelog: v2: - Remove another duplicate declaration for being closer to its user. --- include/linux/debug_locks.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/debug_locks.h b/include/linux/debug_locks.h index 2915f56ad421..32f6a37a3d3f 100644 --- a/include/linux/debug_locks.h +++ b/include/linux/debug_locks.h @@ -6,8 +6,6 @@ #include #include -struct task_struct; - extern int debug_locks __read_mostly; extern int debug_locks_silent __read_mostly; -- 2.25.1