1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

clvmd: drop dead code

Since pipe_client has been already reset to NULL,
remove this dead code.
This commit is contained in:
Zdenek Kabelac 2014-03-21 16:50:45 +01:00
parent 73978f8d7d
commit 7041c8bf51

View File

@ -1223,11 +1223,6 @@ static int cleanup_zombie(struct local_client *thisfd)
/* Free the command buffer */ /* Free the command buffer */
dm_free(thisfd->bits.localsock.cmd); 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)); safe_close(&(thisfd->fd));
thisfd->bits.localsock.cleanup_needed = 0; thisfd->bits.localsock.cleanup_needed = 0;
return 0; return 0;