mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
clvmd: drop dead code
Since pipe_client has been already reset to NULL, remove this dead code.
This commit is contained in:
parent
73978f8d7d
commit
7041c8bf51
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user