From 9753dac892ab4de70f118731f907fbca8580bb14 Mon Sep 17 00:00:00 2001
From: nikita <nikita>
Date: Sat, 18 Oct 2008 17:31:46 +0000
Subject: [PATCH] Remove unused code. b=16450

---
 lustre/ChangeLog            | 9 +++++++--
 lustre/obdclass/class_obd.c | 5 -----
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/lustre/ChangeLog b/lustre/ChangeLog
index 9d7890111d..dd69bee7b5 100644
--- a/lustre/ChangeLog
+++ b/lustre/ChangeLog
@@ -1662,7 +1662,7 @@ Details    : Move md-specific fields out of struct lu_site into special struct
 
 Severity   : minor
 Bugzilla   : 16450
-Description: Kill mdd_lov_destroy()
+Description: Kill mdd_lov_destroy().
 Details    : Remove unused mdd code.
 
 Severity   : minor
@@ -1670,11 +1670,16 @@ Bugzilla   : 16450
 Description: Add st_block checking to multistat.c.
 Details    : Add st_block checking to multistat.c.
 
-Severity   : minor
+Severity   : normal
 Bugzilla   : 16450
 Description: Add lu_ref support to struct obd_device.
 Details    : Add lu_ref tracking to obd_device.
 
+Severity   : minor
+Bugzilla   : 16450
+Description: Kill obd_set_fail_loc().
+Details    : Remove unused code.
+
 --------------------------------------------------------------------------------
 
 2007-08-10         Cluster File Systems, Inc. <info@clusterfs.com>
diff --git a/lustre/obdclass/class_obd.c b/lustre/obdclass/class_obd.c
index 5cfbbcb1fc..2911586c8c 100644
--- a/lustre/obdclass/class_obd.c
+++ b/lustre/obdclass/class_obd.c
@@ -87,11 +87,6 @@ unsigned long obd_print_fail_loc(void)
         return obd_fail_loc;
 }
 
-void obd_set_fail_loc(unsigned int fl)
-{
-        obd_fail_loc = fl;
-}
-
 /*  opening /dev/obd */
 static int obd_class_open(unsigned long flags, void *args)
 {
-- 
GitLab