[lustre-devel] [PATCH] Staging: lustre: obdclass: Remove unused header files

Shraddha Barke shraddha.6596 at gmail.com
Fri Oct 23 02:57:57 PDT 2015


Remove unused header files that are already included in 'lu_object.h'
and 'obd.h'

Signed-off-by: Shraddha Barke <shraddha.6596 at gmail.com>
---
 drivers/staging/lustre/lustre/obdclass/lu_object.c | 1 -
 drivers/staging/lustre/lustre/obdclass/lu_ref.c    | 1 -
 2 files changed, 2 deletions(-)

diff --git a/drivers/staging/lustre/lustre/obdclass/lu_object.c b/drivers/staging/lustre/lustre/obdclass/lu_object.c
index 0d15bd5..549df95 100644
--- a/drivers/staging/lustre/lustre/obdclass/lu_object.c
+++ b/drivers/staging/lustre/lustre/obdclass/lu_object.c
@@ -55,7 +55,6 @@
 #include "../include/lustre_disk.h"
 #include "../include/lustre_fid.h"
 #include "../include/lu_object.h"
-#include "../include/lu_ref.h"
 #include <linux/list.h>
 
 static void lu_object_free(const struct lu_env *env, struct lu_object *o);
diff --git a/drivers/staging/lustre/lustre/obdclass/lu_ref.c b/drivers/staging/lustre/lustre/obdclass/lu_ref.c
index 993697b..df2d8b9 100644
--- a/drivers/staging/lustre/lustre/obdclass/lu_ref.c
+++ b/drivers/staging/lustre/lustre/obdclass/lu_ref.c
@@ -47,4 +47,3 @@
 #include "../include/obd.h"
 #include "../include/obd_class.h"
 #include "../include/obd_support.h"
-#include "../include/lu_ref.h"
-- 
2.1.4



More information about the lustre-devel mailing list