lkml.org 
[lkml]   [2019]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] sysfs: remove unused include of kernfs-internal.h
On Mon, Feb 4, 2019 at 3:08 PM Ondrej Mosnacek <omosnace@redhat.com> wrote:
>
> This include is not needed (fs/sysfs/file.c builds just fine without
> it). Remove it.
>
> Cc: Tejun Heo <tj@kernel.org>
> Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>

Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

> ---
> fs/sysfs/file.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/fs/sysfs/file.c b/fs/sysfs/file.c
> index 52d9235e0291..130fc6fbcc03 100644
> --- a/fs/sysfs/file.c
> +++ b/fs/sysfs/file.c
> @@ -17,7 +17,6 @@
> #include <linux/seq_file.h>
>
> #include "sysfs.h"
> -#include "../kernfs/kernfs-internal.h"
>
> /*
> * Determine ktype->sysfs_ops for the given kernfs_node. This function
> --
> 2.20.1
>

\
 
 \ /
  Last update: 2019-02-05 11:51    [W:0.086 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site