* [PATCH] sysfs: remove unused include of kernfs-internal.h
@ 2019-02-04 14:08 Ondrej Mosnacek
2019-02-05 10:49 ` Rafael J. Wysocki
0 siblings, 1 reply; 2+ messages in thread
From: Ondrej Mosnacek @ 2019-02-04 14:08 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: Rafael J . Wysocki, linux-kernel, Ondrej Mosnacek, Tejun Heo
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>
---
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] sysfs: remove unused include of kernfs-internal.h
2019-02-04 14:08 [PATCH] sysfs: remove unused include of kernfs-internal.h Ondrej Mosnacek
@ 2019-02-05 10:49 ` Rafael J. Wysocki
0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2019-02-05 10:49 UTC (permalink / raw)
To: Ondrej Mosnacek
Cc: Greg Kroah-Hartman, Rafael J . Wysocki,
Linux Kernel Mailing List, Tejun Heo
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
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-02-05 10:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-04 14:08 [PATCH] sysfs: remove unused include of kernfs-internal.h Ondrej Mosnacek
2019-02-05 10:49 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®