Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3867442pxf; Mon, 22 Mar 2021 18:11:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJziEzu9JiChzsyNrQQxiv8VxDqLiUU5vX/2VQAUvOfZ9W2s2iiVHvCgxsr91MlD7KKfK58R X-Received: by 2002:a17:906:130c:: with SMTP id w12mr2372205ejb.253.1616461869648; Mon, 22 Mar 2021 18:11:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616461869; cv=none; d=google.com; s=arc-20160816; b=h93UFfjioxeBCWJ1Rkiudc9WIS2nNVISkemZsULJGqrEXN13mptEjt1L/ETMk/u2YI HzrxVX2Zsldi5GXmBfeXdo8CnlOfsWAKTXf/QvPMlsSPTweIUVVlAJhicxEj1FVmc8A/ 7Lqf1g07pVIlXsgxDG7aawrZmMZxMmWM66uLVsMq8B4CxZ+yi38QLe2Asd2z2RsBSTTT 1GRM/fyccsQ6BlTJGhU4a5fqNGQ06UnVQnuSD9pdAobDoMU6xZ+ZsxNT6YeaJg0i1DP4 Ackh/rXvkA33zbvaeNFGmckbpp68ghKcKffC65gZEK/Fcki6q8I5v8Rqu3woUeKkScfm lkEA== 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=clWh8vfgUVPvAPa8QILHU9nwiArLFZy87m42aFsxdWQ=; b=VnqUrL4H2P0kokeV7yq2UIbC+EQkeA5NgIGRSL8j3x/ISI0ftaFF7Q9Dv/u8fLHG+N nm2KxHK9OYTuL2y7yYURMCXVpfWhLj+jXMsscE9s8wZrmevv6GLrZUz7eTH4PvfTi+St zUWkRL0OmNsUp5FmrM0s5QIGVSzzyKiWSBS6kBaVoNOS/w6JRAd5xOLfJ7r7ZjG2QIgy CQNpTuHV+rqGfw+Q2pfUhl9dVsM+NK9jdSMNXvjU9xfl9gXEcsDpRRQlpromhX01PnJx yvsGrVpIhx0nwHDCOR2HOsLTUuJ+SHOTTuFVlT4eD5++HgAbk2qNy4MVrbL8tseg7qS8 aV3Q== 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 q11si12110905edn.333.2021.03.22.18.10.47; Mon, 22 Mar 2021 18:11:09 -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 S231152AbhCWBJl (ORCPT + 99 others); Mon, 22 Mar 2021 21:09:41 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:13659 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230479AbhCWBJ3 (ORCPT ); Mon, 22 Mar 2021 21:09:29 -0400 Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4F4CrD3XsvznVQx; Tue, 23 Mar 2021 09:06:52 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id 14.3.498.0; Tue, 23 Mar 2021 09:09:11 +0800 From: Shaokun Zhang To: CC: Shaokun Zhang , Peter Zijlstra , Ingo Molnar , Will Deacon , Waiman Long , Boqun Feng Subject: [PATCH] locking/mutex: Remove repeated declaration Date: Tue, 23 Mar 2021 09:09:34 +0800 Message-ID: <1616461774-18644-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-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit 0cd39f4600ed ("locking/seqlock, headers: Untangle the spaghetti monster") introduces 'struct ww_acquire_ctx' again, remove the repeated declaration. Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Will Deacon Cc: Waiman Long Cc: Boqun Feng Signed-off-by: Shaokun Zhang --- include/linux/mutex.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/mutex.h b/include/linux/mutex.h index 0cd631a19727..d80c0e22c822 100644 --- a/include/linux/mutex.h +++ b/include/linux/mutex.h @@ -20,8 +20,6 @@ #include #include -struct ww_acquire_ctx; - /* * Simple, straightforward mutexes with strict semantics: * -- 2.7.4