Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2812286rwb; Mon, 15 Aug 2022 11:50:42 -0700 (PDT) X-Google-Smtp-Source: AA6agR7KWMeHL5/SYDANjGSZUrsOK1kWpUVCLrL8bE+0q+Ok8lDY2NGTrPxhKZI1q3cyvGjvRs/L X-Received: by 2002:aa7:c30c:0:b0:440:a189:541d with SMTP id l12-20020aa7c30c000000b00440a189541dmr15612645edq.64.1660589442457; Mon, 15 Aug 2022 11:50:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660589442; cv=none; d=google.com; s=arc-20160816; b=ueMXoj73LjYGZva5kCUQFhDt3AnLJSyIKPu19rjSvB8rt1dsgFn03aow2xfV1ceLFY HcIZQ01vn+vde/9WSz5Ymu9Yr+N0/e1KsQN2IVvOyL9ODpNVFXlXBI7kra9F/aDr3STR lQA6udXKEITJqHnGVNMSYiccM4fSitHhCxn2RYU8AgblBWpSQuQTKsvbuolX2SeO7aHN ij0NQvKJz+UTyBOgmMgNfrOuaXtEXg/LneBcoASTKDfxrovZDhuSdEIRBIdrO1aQmWUd wQTiLJ+3CKpdYGuiQyyTyHRid1E6+T5n/TsZ0kAVCFkDATmYsZMxSeFBQDyrXfYsxNV6 HkXA== 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=EHWzSpCC4RGYkmWdYWS1XcmhYug6/8QQrCd+7y7tT8E=; b=sq5egIahLEQVDg7C3lNSpnicxQKjcdPLF/Ag1YJ32Z61rc1XknyxodKyNVe3Yq5S4x bdjHjVEPNicD7ArB65pUzkP78vZkLq22Z4w70urwtFjFfs722zeHRo4YC5iOPYCrIGnf 759v+2Wyt0ZUuf3Taone0WO3zVthmCwlt+cPv+xeB6cZvFm7HjTbhfdIT8QcryrKWLjg Flb1mOFbgi5jtQOpezpm42x3r9RmRS7xi9CKFsjMmcOq0CjcL7Gq0Ofth5I27Ht5i90I Rw8S/h+uCC0WXmz8+AqhXVUh6H2c/OolMQxlhlAG3akISKobvrWtQ+eQSIjNHLjQ+DSb 0Hdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=MJNWOy+I; 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 i12-20020a50fc0c000000b0043de558914asi7234832edr.487.2022.08.15.11.50.16; Mon, 15 Aug 2022 11:50:42 -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=MJNWOy+I; 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 S233512AbiHOSOl (ORCPT + 99 others); Mon, 15 Aug 2022 14:14:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233167AbiHOSOE (ORCPT ); Mon, 15 Aug 2022 14:14:04 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5974A2A733; Mon, 15 Aug 2022 11:13:57 -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 dfw.source.kernel.org (Postfix) with ESMTPS id BDB766126D; Mon, 15 Aug 2022 18:13:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AE28AC433C1; Mon, 15 Aug 2022 18:13:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660587236; bh=ZijTKWQteD+IeC1G+H3UDJt9gaxBn9cocLeNx6vahE4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MJNWOy+Il0xNfE+qTkArvltRvhqs5tcNtOk01URTRn9ZLFj7ITul/1qF7uYWelpwu ToUa1fY8PzP8TjjQbVbTKBhHotRHxBS3OuY442r5RzXBXivmypHFc+RhUHWxiWh4yD OkPVxFZ3mIXpEkRfHal7q4AWqvGmeSBL+L90AO60= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Chuck Lever Subject: [PATCH 5.15 006/779] NFSD: Clean up the show_nf_flags() macro Date: Mon, 15 Aug 2022 19:54:10 +0200 Message-Id: <20220815180337.442654455@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180337.130757997@linuxfoundation.org> References: <20220815180337.130757997@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 @@ -636,12 +636,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" }, \