Staging: lustre: obdclass: Remove unused functions
PATCH 1/1 Staging: lustre: obdclass: Remove unused functions
Remove dump_exports and print_export_data as they are defined but not used anywhere.
Signed-off-by Shraddha Barke <[email protected]>
--- drivers/staging/lustre/lustre/include/obd_class.h | 1 - drivers/staging/lustre/lustre/obdclass/genops.c | 51 ----------------------- 2 files changed, 52 deletions(-)
drivers/staging/lustre/lustre/include/obd_class.h +0 -1
@@ -117,7 +117,6 @@ struct obd_device *class_incref(struct obd_device *obd, const char *scope, const void *source);void class_decref (struct obd_device *obd,const char *scope,const void *source); -void dump_exports (struct obd_device *obd,int locks);int class_config_llog_handler (const struct lu_env *env,struct llog_handle *handle,struct llog_rec_hdr *rec,void *data);
drivers/staging/lustre/lustre/obdclass/genops.c +0 -51
63 lines not on this page · raw message
Signature · 1 line
2.1.4
Quoted 4 lines · On Friday 02 October 2015 18:07:04 Shraddha Barke wrote:
Remove
dump_exportsandprint_export_dataas they are defined but not used anywhere.Signed-off-by Shraddha Barke <[email protected]>
Good catch! This became unused when I removed code from class_cleanup() last week.
Reviewed-by Arnd Bergmann <[email protected]>