From patchwork Thu Jun 20 21:29:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Sandeen X-Patchwork-Id: 11008189 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 98EFD14BB for ; Thu, 20 Jun 2019 21:29:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8A626288F4 for ; Thu, 20 Jun 2019 21:29:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7F285288F6; Thu, 20 Jun 2019 21:29:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7C0C22766D for ; Thu, 20 Jun 2019 21:29:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726245AbfFTV3j (ORCPT ); Thu, 20 Jun 2019 17:29:39 -0400 Received: from sandeen.net ([63.231.237.45]:55556 "EHLO sandeen.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726168AbfFTV3j (ORCPT ); Thu, 20 Jun 2019 17:29:39 -0400 Received: by sandeen.net (Postfix, from userid 500) id 0E4BB450A9E; Thu, 20 Jun 2019 16:29:37 -0500 (CDT) From: Eric Sandeen To: linux-xfs@vger.kernel.org Subject: [PATCH 04/11] libfrog: remove unneeded includes Date: Thu, 20 Jun 2019 16:29:27 -0500 Message-Id: <1561066174-13144-5-git-send-email-sandeen@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1561066174-13144-1-git-send-email-sandeen@redhat.com> References: <1561066174-13144-1-git-send-email-sandeen@redhat.com> Sender: linux-xfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Eric Sandeen --- libfrog/avl64.c | 1 - libfrog/bitmap.c | 2 -- libfrog/convert.c | 2 -- libfrog/crc32.c | 1 - libfrog/fsgeom.c | 1 - libfrog/linux.c | 4 ---- libfrog/list_sort.c | 1 - libfrog/paths.c | 4 ---- libfrog/projects.c | 1 - libfrog/ptvar.c | 3 --- libfrog/radix-tree.c | 3 --- libfrog/topology.c | 1 - libfrog/util.c | 1 - libfrog/workqueue.c | 1 - 14 files changed, 26 deletions(-) diff --git a/libfrog/avl64.c b/libfrog/avl64.c index 2547bf3..2147b35 100644 --- a/libfrog/avl64.c +++ b/libfrog/avl64.c @@ -3,7 +3,6 @@ * Copyright (c) 2000-2002,2005 Silicon Graphics, Inc. * All Rights Reserved. */ -#include #include #include "platform_defs.h" #include "avl64.h" diff --git a/libfrog/bitmap.c b/libfrog/bitmap.c index 4dafc4c..5a4a1f7 100644 --- a/libfrog/bitmap.c +++ b/libfrog/bitmap.c @@ -4,11 +4,9 @@ * Author: Darrick J. Wong */ #include "xfs.h" -#include #include #include #include -#include "platform_defs.h" #include "avl64.h" #include "list.h" #include "bitmap.h" diff --git a/libfrog/convert.c b/libfrog/convert.c index ed4cae7..f97c62a 100644 --- a/libfrog/convert.c +++ b/libfrog/convert.c @@ -3,10 +3,8 @@ * Copyright (c) 2003-2005 Silicon Graphics, Inc. * All Rights Reserved. */ -#include "platform_defs.h" #include "input.h" #include -#include size_t numlen( diff --git a/libfrog/crc32.c b/libfrog/crc32.c index 526ce95..b4c18c7 100644 --- a/libfrog/crc32.c +++ b/libfrog/crc32.c @@ -36,7 +36,6 @@ /* For endian conversion routines */ #include "xfs_arch.h" #include "crc32defs.h" -#include "crc32c.h" /* types specifc to this file */ typedef __u8 u8; diff --git a/libfrog/fsgeom.c b/libfrog/fsgeom.c index 8879d16..9a2aee7 100644 --- a/libfrog/fsgeom.c +++ b/libfrog/fsgeom.c @@ -3,7 +3,6 @@ * Copyright (c) 2000-2005 Silicon Graphics, Inc. All Rights Reserved. */ #include "libxfs.h" -#include "fsgeom.h" void xfs_report_geom( diff --git a/libfrog/linux.c b/libfrog/linux.c index b6c2487..5fc7c6a 100644 --- a/libfrog/linux.c +++ b/libfrog/linux.c @@ -4,14 +4,10 @@ * All Rights Reserved. */ -#include #include -#include #include #include "libxfs_priv.h" -#include "xfs_fs.h" -#include "init.h" extern char *progname; static int max_block_alignment; diff --git a/libfrog/list_sort.c b/libfrog/list_sort.c index b77eece..e017b8c 100644 --- a/libfrog/list_sort.c +++ b/libfrog/list_sort.c @@ -1,5 +1,4 @@ /* List sorting code from Linux::lib/list_sort.c. */ -#include #include #include "list.h" diff --git a/libfrog/paths.c b/libfrog/paths.c index 6e26665..7cda1f8 100644 --- a/libfrog/paths.c +++ b/libfrog/paths.c @@ -4,8 +4,6 @@ * All Rights Reserved. */ -#include -#include #include #include #include @@ -14,8 +12,6 @@ #include #include "path.h" #include "input.h" -#include "project.h" -#include extern char *progname; diff --git a/libfrog/projects.c b/libfrog/projects.c index 91bc78f..ec28c04 100644 --- a/libfrog/projects.c +++ b/libfrog/projects.c @@ -5,7 +5,6 @@ */ #include -#include #include #include "project.h" diff --git a/libfrog/ptvar.c b/libfrog/ptvar.c index c929683..c8393cc 100644 --- a/libfrog/ptvar.c +++ b/libfrog/ptvar.c @@ -3,14 +3,11 @@ * Copyright (C) 2018 Oracle. All Rights Reserved. * Author: Darrick J. Wong */ -#include #include #include #include #include #include -#include -#include "platform_defs.h" #include "ptvar.h" /* diff --git a/libfrog/radix-tree.c b/libfrog/radix-tree.c index c1c7487..de7c588 100644 --- a/libfrog/radix-tree.c +++ b/libfrog/radix-tree.c @@ -5,9 +5,6 @@ * Copyright (C) 2005 SGI, Christoph Lameter */ #include -#include -#include -#include #include "platform_defs.h" #include "radix-tree.h" diff --git a/libfrog/topology.c b/libfrog/topology.c index cac164f..b675641 100644 --- a/libfrog/topology.c +++ b/libfrog/topology.c @@ -4,7 +4,6 @@ * All Rights Reserved. */ -#include "libxfs.h" #include "libxcmd.h" #ifdef ENABLE_BLKID # include diff --git a/libfrog/util.c b/libfrog/util.c index ff93518..a3971aa 100644 --- a/libfrog/util.c +++ b/libfrog/util.c @@ -4,7 +4,6 @@ * All Rights Reserved. */ #include "platform_defs.h" -#include "libfrog.h" /* * libfrog is a collection of miscellaneous userspace utilities. diff --git a/libfrog/workqueue.c b/libfrog/workqueue.c index 7311477..965ac31 100644 --- a/libfrog/workqueue.c +++ b/libfrog/workqueue.c @@ -4,7 +4,6 @@ * Author: Darrick J. Wong */ #include -#include #include #include #include