From: Alex Shi Date: Thu, 2 Apr 2020 04:03:31 +0000 (-0700) Subject: ocfs2: remove dlm_lock_is_remote X-Git-Tag: v5.10.7~2924^2~146 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e0369873e6fe4ebd08aa65f2a99070057faa7066;p=platform%2Fkernel%2Flinux-rpi.git ocfs2: remove dlm_lock_is_remote This macro has been unused since it was introduced. Signed-off-by: Alex Shi Signed-off-by: Andrew Morton Acked-by: Joseph Qi Cc: Mark Fasheh Cc: Joel Becker Cc: Junxiao Bi Cc: Changwei Ge Cc: Gang He Cc: Jun Piao Link: http://lkml.kernel.org/r/1579578203-254451-1-git-send-email-alex.shi@linux.alibaba.com Signed-off-by: Linus Torvalds --- diff --git a/fs/ocfs2/dlm/dlmthread.c b/fs/ocfs2/dlm/dlmthread.c index fcf20ad90087..5ccc4ff0b82a 100644 --- a/fs/ocfs2/dlm/dlmthread.c +++ b/fs/ocfs2/dlm/dlmthread.c @@ -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)