Gitweb:
http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=7041c8bf51844c...
Commit: 7041c8bf51844c314fd4ed3b5f20779959524320
Parent: 73978f8d7dd638806f514a7914884a204afd95c1
Author: Zdenek Kabelac <zkabelac(a)redhat.com>
AuthorDate: Fri Mar 21 16:50:45 2014 +0100
Committer: Zdenek Kabelac <zkabelac(a)redhat.com>
CommitterDate: Fri Mar 21 22:29:24 2014 +0100
clvmd: drop dead code
Since pipe_client has been already reset to NULL,
remove this dead code.
---
daemons/clvmd/clvmd.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/daemons/clvmd/clvmd.c b/daemons/clvmd/clvmd.c
index 572c5b7..dd3548f 100644
--- a/daemons/clvmd/clvmd.c
+++ b/daemons/clvmd/clvmd.c
@@ -1223,11 +1223,6 @@ static int cleanup_zombie(struct local_client *thisfd)
/* Free the command buffer */
dm_free(thisfd->bits.localsock.cmd);
- /* Clear out the cross-link */
- if (thisfd->bits.localsock.pipe_client != NULL)
- thisfd->bits.localsock.pipe_client->bits.pipe.client =
- NULL;
-
safe_close(&(thisfd->fd));
thisfd->bits.localsock.cleanup_needed = 0;
return 0;