Skip to contentSkip to conversation

sysfs: remove unused include of kernfs-internal.h

PATCH In review Ondrej Mosnacek 2 participants 2 messages Feb 4, 2019 – Feb 5, 2019 Driver core

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sysfs: remove unused include of kernfs-internal.h

This include is not needed (fs/sysfs/file.c builds just fine without it). Remove it.

---
 fs/sysfs/file.c | 1 -
 1 file changed, 1 deletion(-)
fs/sysfs/file.c +0 -1
index 52d9235e0291..130fc6fbcc03 100644
@@ -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
Signature · 1 line
2.20.1
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Ondrej Mosnacek

This include is not needed (fs/sysfs/file.c builds just fine without it). Remove it.

Quoted 19 lines
---
 fs/sysfs/file.c | 1 -
 1 file changed, 1 deletion(-)
fs/sysfs/file.c +0 -2
index 52d9235e0291..130fc6fbcc03 100644
@@ -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