From patchwork Mon Apr 17 08:13:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ye.xingchen@zte.com.cn X-Patchwork-Id: 13213433 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B98B3C77B72 for ; Mon, 17 Apr 2023 08:13:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229518AbjDQINb (ORCPT ); Mon, 17 Apr 2023 04:13:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229982AbjDQINY (ORCPT ); Mon, 17 Apr 2023 04:13:24 -0400 Received: from mxhk.zte.com.cn (mxhk.zte.com.cn [63.216.63.40]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D709A1B1; Mon, 17 Apr 2023 01:13:18 -0700 (PDT) Received: from mse-fl1.zte.com.cn (unknown [10.5.228.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mxhk.zte.com.cn (FangMail) with ESMTPS id 4Q0KYn2wKgz8RTWs; Mon, 17 Apr 2023 16:13:17 +0800 (CST) Received: from xaxapp03.zte.com.cn ([10.88.97.17]) by mse-fl1.zte.com.cn with SMTP id 33H8D5sC089118; Mon, 17 Apr 2023 16:13:05 +0800 (+08) (envelope-from ye.xingchen@zte.com.cn) Received: from mapi (xaxapp02[null]) by mapi (Zmail) with MAPI id mid31; Mon, 17 Apr 2023 16:13:07 +0800 (CST) Date: Mon, 17 Apr 2023 16:13:07 +0800 (CST) X-Zmail-TransId: 2afa643cff93ffffffffc3d-3c823 X-Mailer: Zmail v1.0 Message-ID: <202304171613075788124@zte.com.cn> Mime-Version: 1.0 From: To: Cc: , , Subject: =?utf-8?q?=5BPATCH=5D_xfs=3A_scrub=3A_remove_duplicate_include_head?= =?utf-8?q?ers?= X-MAIL: mse-fl1.zte.com.cn 33H8D5sC089118 X-Fangmail-Gw-Spam-Type: 0 X-Fangmail-Anti-Spam-Filtered: true X-Fangmail-MID-QID: 643CFF9D.001/4Q0KYn2wKgz8RTWs Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org From: Ye Xingchen xfs_trans_resv.h and xfs_mount.h are included more than once. Signed-off-by: Ye Xingchen --- fs/xfs/scrub/health.c | 2 -- fs/xfs/scrub/refcount.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/fs/xfs/scrub/health.c b/fs/xfs/scrub/health.c index d2b2a1cb6533..66e99b0f6049 100644 --- a/fs/xfs/scrub/health.c +++ b/fs/xfs/scrub/health.c @@ -7,8 +7,6 @@ #include "xfs_fs.h" #include "xfs_shared.h" #include "xfs_format.h" -#include "xfs_trans_resv.h" -#include "xfs_mount.h" #include "xfs_btree.h" #include "xfs_trans_resv.h" #include "xfs_mount.h" diff --git a/fs/xfs/scrub/refcount.c b/fs/xfs/scrub/refcount.c index ed5eb367ce49..04d216261f36 100644 --- a/fs/xfs/scrub/refcount.c +++ b/fs/xfs/scrub/refcount.c @@ -7,8 +7,6 @@ #include "xfs_fs.h" #include "xfs_shared.h" #include "xfs_format.h" -#include "xfs_trans_resv.h" -#include "xfs_mount.h" #include "xfs_btree.h" #include "xfs_rmap.h" #include "xfs_refcount.h"