Whamcloud - gitweb
LU-4423 lustre: don't declare extern variables in C files.
[fs/lustre-release.git] / lustre / mdt / mdt_recovery.c
index cdb618e..f93840e 100644 (file)
@@ -67,11 +67,6 @@ const struct lu_buf *mdt_buf_const(const struct lu_env *env,
         return buf;
 }
 
-/*
- * last_rcvd & last_committed update callbacks
- */
-extern struct lu_context_key mdt_thread_key;
-
 /* This callback notifies MDT that transaction was done. This is needed by
  * mdt_save_lock() only. It is similar to new target code and will be removed
  * as mdt_save_lock() will be converted to use target structures */
@@ -219,7 +214,6 @@ void mdt_reconstruct_generic(struct mdt_thread_info *mti,
        struct ptlrpc_request *req = mdt_info_req(mti);
 
        mdt_req_from_lrd(req, mti->mti_reply_data);
-       return;
 }
 
 /**