Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3881401pxf; Mon, 22 Mar 2021 18:40:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw1+HNiL3uTw1jx6RAhTmmfkc3DEp9LwpJp/4l83fbYtGWmlYTeZSLqARoUDMxUKJxPoLio X-Received: by 2002:a17:906:144d:: with SMTP id q13mr2652411ejc.458.1616463648275; Mon, 22 Mar 2021 18:40:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616463648; cv=none; d=google.com; s=arc-20160816; b=iCz+dB3l0DUUP28Fop+4v0LbYzXchot5ylz+iru5GZhlED48hffbXMF5GJWzC+0khW TbxlJHo6fD8hNyMpZJjxet0Bphg1hMxp3r73Pe+JH/ITvzJyX+CKUOJHCglDDHb6hfBn ZohHFg2by5vNXQD1nES8TPrxW+gePvzTppaN3A4Jp01NORqa0k92SSrQ28Q/aaOUCx7S RyiVuS5oFT+xUG7aniOB4SAONBZadaavie4pESFza3+BYouhAzwmZnw9rXqDxy5HbG2C ASoJLQeHUrk0eaIgNqKX4h3WUexmY5yYbMcJQpWc+lT7S3WkMIXwpzETJafF3puGZxgQ WDig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:cc:to:subject:dkim-signature; bh=Nu+yoWMzzgGr1gCDRbvEmZk3Z9T6e6oSH4qrWWkWJtw=; b=qvtACgOHCPc//OFzdS2bXLvvlAiX3uKushbfpibMTw8tqxX53e7VZ3DDhjZ8XAV8Bx uQFfoI/Da7xe99164wu4ytxkTDg5Ft3h1B0vnur9MTmhX9rSeuBi/YHQrrT9hf7p2C6Z yPxrQz+7koMU/d4srZLlhNg3U/H01RHnsAarU/OMj3Vagz2UO7XbkG/dbYRyr2KNdZFY yvt57k23QymlvdRLAiP3v17awCEFe12/BFeDpERx/wgJqd4PdYoRWVaomd5k+m4KpEa6 CiiVCLQcT1abWWd9zCdCgvZYwipqQlhVkHKPVBWKukfdkcon3efusbDi3LXPaNsdn5oo YtXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=OGnN1hQ5; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 38si13178070edr.200.2021.03.22.18.40.26; Mon, 22 Mar 2021 18:40:48 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=OGnN1hQ5; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231476AbhCWBja (ORCPT + 99 others); Mon, 22 Mar 2021 21:39:30 -0400 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:58991 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231516AbhCWBj0 (ORCPT ); Mon, 22 Mar 2021 21:39:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1616463566; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Nu+yoWMzzgGr1gCDRbvEmZk3Z9T6e6oSH4qrWWkWJtw=; b=OGnN1hQ5/YsrwhcunNW6Re/I1gdPX4izceCJAVMTtjg+tBzkNwNeI/+S36XpJEoExurf2d H4PN3vO1ZnkK6WuOXzKi+U8pWsNe6Qhe6TqrCuyA11JH8JecDEjyn8ALGBOuTLe4Jbnvsn 00txOpUCqkPjutBA+gavkDm3prblY10= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-446-SQ1GQ4yAM0izyxevZ022VQ-1; Mon, 22 Mar 2021 21:39:24 -0400 X-MC-Unique: SQ1GQ4yAM0izyxevZ022VQ-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 00C011084C83; Tue, 23 Mar 2021 01:39:23 +0000 (UTC) Received: from llong.remote.csb (ovpn-114-80.rdu2.redhat.com [10.10.114.80]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0B70B5946D; Tue, 23 Mar 2021 01:39:21 +0000 (UTC) Subject: Re: [PATCH] locking/mutex: Remove repeated declaration To: Shaokun Zhang , linux-kernel@vger.kernel.org Cc: Peter Zijlstra , Ingo Molnar , Will Deacon , Boqun Feng References: <1616461774-18644-1-git-send-email-zhangshaokun@hisilicon.com> From: Waiman Long Organization: Red Hat Message-ID: Date: Mon, 22 Mar 2021 21:39:21 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: <1616461774-18644-1-git-send-email-zhangshaokun@hisilicon.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/22/21 9:09 PM, Shaokun Zhang wrote: > 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: > * Yes, it is duplicated. Acked-by: Waiman Long