summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2015-11-09 09:59:51 -0600
committerDavid Teigland <teigland@redhat.com>2015-11-09 10:00:04 -0600
commite207ededd607fe30cf1f10d5c4415ed30b2d030c (patch)
treecbab42f8bb9de568f5c7e135102d5a976d2566fb
parent36ee36734382b2aa845a435e27fa1fb834be1152 (diff)
downloadlvm2-e207ededd607fe30cf1f10d5c4415ed30b2d030c.tar.gz
lvmlockd: shut up warnings
-rw-r--r--daemons/lvmlockd/lvmlockd-core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/daemons/lvmlockd/lvmlockd-core.c b/daemons/lvmlockd/lvmlockd-core.c
index 487b6ec39..9b06e7d8d 100644
--- a/daemons/lvmlockd/lvmlockd-core.c
+++ b/daemons/lvmlockd/lvmlockd-core.c
@@ -3594,8 +3594,6 @@ static int client_send_result(struct client *cl, struct action *act)
if (gl_use_sanlock && !gl_lsname_sanlock[0])
strcat(result_flags, "NO_GL_LS,");
- else if (gl_use_dlm && !gl_lsname_dlm[0])
- strcat(result_flags, "NO_GL_LS,");
else
strcat(result_flags, "NO_GL_LS,");
}