Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp547877pxf; Thu, 25 Mar 2021 09:04:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxXlu4j9mfZ3nqdndVIhVH9aUNjRVuuNe4SF5OnrIa9YEAQ2otdKl0L8L0vel1QtKWBjVNX X-Received: by 2002:a17:907:d1f:: with SMTP id gn31mr10123671ejc.536.1616688298035; Thu, 25 Mar 2021 09:04:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616688298; cv=none; d=google.com; s=arc-20160816; b=T0rLZKgyXE3cK7t9W7VFXXJB51FpOOYR1bKAYeYnTsQcgqXRZcu4mIno2PZUEXIbed 7AOowqypJlSov0snBbe+JaVXGBOPT1HB7z+reR73icQiOZR2sYFy7WRiulsKLZPkp8DB AxApTC1nuA4y77DHm0B7Ig5d84dc2Q/LnexWTuHEbVuwbV2bjA83hEytUI4rGr3K7tiW aY5Q8exo60WJbOUy62KpEEMyBStISL8EVUOEVrdIhFO8857ZKUk3DunComVd/z99Zvqu fkbItkW/GR6QU876YfAbIb02jmIFnEZRXBGygSlSeKjJduCNmO1sRab0AVewmGa812sB qZOw== 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=ujqACu8Ynk2u5FJcTBxNr7yPKJ77GZxJlsSrt2qoi5E=; b=Y/X+4ctfg6YJ+DHhBiI6sKxfp21P5PsV65e+q3m6u9e/gHlbTJv4q2j9Qn4XoQtu3w MxrXqbszRUgyX+GnvpUfN7ymvBVNSq2Y/Jj7DeJmra2A+qdZCOhw8hEYZY/O1nbUdYv9 mLN8rVNKg/F4XrQP3fOlgg4Mgr9VILVjSYmGEFLHthNYDA88/NPnlZECoxU857JS9g8O nssCzVbzcer9ls/8enCkiW9CCVzYob/NB5RsxH1pjmoKEy3qxmLzwWFdjspNfnv83UvM 4Njoq5e9bgI1TzHSZfX/luKlT49eTJRczEZbUN4dB6z28UspYrIfvVc2qSjy2bh4gtIS LiNA== 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 b14si4475537eds.379.2021.03.25.09.04.34; Thu, 25 Mar 2021 09:04:58 -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 S229961AbhCYQDg (ORCPT + 99 others); Thu, 25 Mar 2021 12:03:36 -0400 Received: from mail-m17637.qiye.163.com ([59.111.176.37]:30614 "EHLO mail-m17637.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229919AbhCYQDH (ORCPT ); Thu, 25 Mar 2021 12:03:07 -0400 Received: from localhost.localdomain (unknown [180.111.236.218]) by mail-m17637.qiye.163.com (Hmail) with ESMTPA id DC24D980238; Fri, 26 Mar 2021 00:03:04 +0800 (CST) From: Wan Jiabing To: Peter Zijlstra , Thomas Gleixner , Wan Jiabing , Sergey Senozhatsky , Petr Mladek , Andy Shevchenko , linux-kernel@vger.kernel.org Cc: kael_w@yeah.net Subject: [PATCH] [v3] debug_locks: Remove duplicate declaration Date: Fri, 26 Mar 2021 00:02:44 +0800 Message-Id: <20210325160245.5949-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 oVCBIfWUFZS08eGhpJQ0odSU5PVkpNSk1NQ0NKQ05LTU5VEwETFhoSFyQUDg9ZV1kWGg8SFR0UWU FZT0tIVUpKS0hKQ1VLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6K006Ogw5Hj8OPD1WUTgSNT8d CylPFANVSlVKTUpNTUNDSkNOT0tDVTMWGhIXVQwaFRESGhkSFRw7DRINFFUYFBZFWVdZEgtZQVlK Q0tVSkpKVUlITVVJSkNZV1kIAVlBSkNMSTcG X-HM-Tid: 0a786a1ffeaed992kuwsdc24d980238 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org struct task_struct is declared twice. Remove the duplicate. Reviewed-by: Andy Shevchenko Signed-off-by: Wan Jiabing --- Changelog: v3: - Add reviewer info and modify subject line 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