Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2889168rwb; Mon, 15 Aug 2022 13:22:49 -0700 (PDT) X-Google-Smtp-Source: AA6agR6cLu76RUuOI+scvi37hTqHzE7mBEiPDvSu7lwomgooVKC+p7NMV0vbAc8w3pQnoe5tzj5c X-Received: by 2002:aa7:db44:0:b0:43d:267c:edd9 with SMTP id n4-20020aa7db44000000b0043d267cedd9mr15967762edt.385.1660594969556; Mon, 15 Aug 2022 13:22:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660594969; cv=none; d=google.com; s=arc-20160816; b=kWr/NFax6c5yCiyPHswrTLaMMry7bEZjVbStRxWUsnxhfmJSE8eORI4MA/RE3rFTju 7VVLHskv4KGe5yUMh1QEMDDlV6lv/sRD3ny18Cxr2psegBAd48DL/x2kO9ybTEYmJT3a fvCnc65NpZhHCEYM6CLKAyDYo3bH7R06RJ5cCN0yIVkvTS1JkIWNbxk/C5X9C5XURJMV 4FpC7rzq30cyKTMtB2sRRowc6ea8ldcOiyD/T4F9+b8TL+1NPPJ+eyW5vFVwBqKl/KC6 Z7Poa1K6wsU7dkFQrFQtjWL5f0u9nAMkc+aYdRkT4mB3ScOrrA5poV40bfcxvj+a6iqy DBGg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=jKZpTkR5bwL53WCX7aeAqO8rEmoXtUHwmZS3nf9evxw=; b=auppfOys85be7Ap5od2List0UngqBP9g8Pqc1G3IgVZ5SzfpZeLAx/313ckYuYlRPS UQZI5hIoXT7GjGrSA7c88UploBkoaaFy4b9hwcNozlsYFKsLiG2Efi1P2leQTwZaOuYt j8J80cC/p7G8p2ESPT3TWEFcjHYp4ntatwNO1jkwt7ivdyjUzc0Gu1l/0v6+So4CagjX 3FFOAygUU9gXd96BbKSTI+eW/A5yRcbnRBzHa82hjTvXanFOAJEz9n39o0sLiki0qOQb 4agVYwoKRKAP4yBpVEwGXttMS13HPJsh+ymaYhJCQrwauBAp9G9h/YCTIpMs6bD/7Iae wYsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=B1EXtkMG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l8-20020a056402254800b0043e1c8af8c8si9471517edb.241.2022.08.15.13.22.20; Mon, 15 Aug 2022 13:22:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=B1EXtkMG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345904AbiHOUJG (ORCPT + 99 others); Mon, 15 Aug 2022 16:09:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50770 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233446AbiHOUI3 (ORCPT ); Mon, 15 Aug 2022 16:08:29 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C2D66C76A; Mon, 15 Aug 2022 11:55:35 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 5C088B81082; Mon, 15 Aug 2022 18:55:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DD5C1C433D6; Mon, 15 Aug 2022 18:55:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660589731; bh=BvMF84voORROuVgcMzmIIaN6ggLX6ZNUuH8cGR75ojU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=B1EXtkMGpZwc1S672JQL76sk08W0hDBg81WO5xdTyYOcTWg7EkQficnPkv3Gv1YO5 ftt6iMmh4Rja+SPVpj98qBpNXf33mza33XzQZmAx3raCc4hDQL92dri8nEIw91Wixj +LCVAd7f2D1A18Vef5tsd9H0UUG4uUshFPcVsrOA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Chuck Lever Subject: [PATCH 5.18 0006/1095] NFSD: Clean up the show_nf_flags() macro Date: Mon, 15 Aug 2022 19:50:05 +0200 Message-Id: <20220815180429.565386008@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180429.240518113@linuxfoundation.org> References: <20220815180429.240518113@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chuck Lever commit bb283ca18d1e67c82d22a329c96c9d6036a74790 upstream. The flags are defined using C macros, so TRACE_DEFINE_ENUM is unnecessary. Signed-off-by: Chuck Lever Signed-off-by: Greg Kroah-Hartman --- fs/nfsd/trace.h | 6 ------ 1 file changed, 6 deletions(-) --- a/fs/nfsd/trace.h +++ b/fs/nfsd/trace.h @@ -692,12 +692,6 @@ DEFINE_CLID_EVENT(confirmed_r); /* * from fs/nfsd/filecache.h */ -TRACE_DEFINE_ENUM(NFSD_FILE_HASHED); -TRACE_DEFINE_ENUM(NFSD_FILE_PENDING); -TRACE_DEFINE_ENUM(NFSD_FILE_BREAK_READ); -TRACE_DEFINE_ENUM(NFSD_FILE_BREAK_WRITE); -TRACE_DEFINE_ENUM(NFSD_FILE_REFERENCED); - #define show_nf_flags(val) \ __print_flags(val, "|", \ { 1 << NFSD_FILE_HASHED, "HASHED" }, \