@@ -681,8 +681,6 @@ struct ldlm_namespace *ldlm_namespace_new(struct obd_device *obd, char *name,
}
EXPORT_SYMBOL(ldlm_namespace_new);
-extern struct ldlm_lock *ldlm_lock_get(struct ldlm_lock *lock);
-
/**
* Cancel and destroy all locks on a resource.
*
@@ -1572,7 +1572,6 @@ int ptlrpc_disconnect_import(struct obd_import *imp, int noclose)
EXPORT_SYMBOL(ptlrpc_disconnect_import);
/* Adaptive Timeout utils */
-extern unsigned int at_min, at_max, at_history;
/*
*Update at_current with the specified value (bounded by at_min and at_max),
@@ -40,11 +40,6 @@
#include "ptlrpc_internal.h"
-extern spinlock_t ptlrpc_last_xid_lock;
-#if RS_DEBUG
-extern spinlock_t ptlrpc_rs_debug_lock;
-#endif
-
DEFINE_MUTEX(ptlrpc_startup);
static int ptlrpc_active;