From: akpm@linux-foundation.org Subject: [patch 103/126] autofs: non functional header inclusion cleanup Date: Fri, 08 Sep 2017 16:16:37 -0700 Message-ID: <20170908231637.xB_zzJAtT%akpm@linux-foundation.org> Reply-To: linux-kernel@vger.kernel.org Return-path: Received: from mail.linuxfoundation.org ([140.211.169.12]:53430 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757210AbdIHXQi (ORCPT ); Fri, 8 Sep 2017 19:16:38 -0400 Sender: mm-commits-owner@vger.kernel.org List-Id: mm-commits@vger.kernel.org To: akpm@linux-foundation.org, mm-commits@vger.kernel.org, raven@themaw.net, tkusumi@tuxera.com, torvalds@linux-foundation.org From: Tomohiro Kusumi Subject: autofs: non functional header inclusion cleanup Having header includes before any macro (without any dependency) simply looks normal. No reason to have these macros in between. Link: http://lkml.kernel.org/r/150285068011.4670.10271483982093996996.stgit@pluto.themaw.net Signed-off-by: Tomohiro Kusumi Signed-off-by: Ian Kent Signed-off-by: Andrew Morton --- fs/autofs4/autofs_i.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff -puN fs/autofs4/autofs_i.h~autofs-non-functional-header-inclusion-cleanup fs/autofs4/autofs_i.h --- a/fs/autofs4/autofs_i.h~autofs-non-functional-header-inclusion-cleanup +++ a/fs/autofs4/autofs_i.h @@ -11,10 +11,21 @@ #include #include + +#include +#include +#include +#include +#include +#include +#include +#include +#include #include #include #include #include +#include /* This is the range of ioctl() numbers we claim as ours */ #define AUTOFS_IOC_FIRST AUTOFS_IOC_READY @@ -24,17 +35,6 @@ #define AUTOFS_DEV_IOCTL_IOC_COUNT \ (AUTOFS_DEV_IOCTL_ISMOUNTPOINT_CMD - AUTOFS_DEV_IOCTL_VERSION_CMD) -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include