ocfs2: remove dlm_lock_is_remote
[linux-2.6-microblaze.git] / fs / ocfs2 / dlm / dlmthread.c
index fcf20ad..5ccc4ff 100644 (file)
@@ -39,8 +39,6 @@
 static int dlm_thread(void *data);
 static void dlm_flush_asts(struct dlm_ctxt *dlm);
 
-#define dlm_lock_is_remote(dlm, lock)     ((lock)->ml.node != (dlm)->node_num)
-
 /* will exit holding res->spinlock, but may drop in function */
 /* waits until flags are cleared on res->state */
 void __dlm_wait_on_lockres_flags(struct dlm_lock_resource *res, int flags)