From 2a77659e9c25cc51fed193147ba3bfea56c5f8f9 Mon Sep 17 00:00:00 2001 From: Raghavendra Talur Date: Fri, 7 Feb 2014 16:45:58 +0530 Subject: glusterfsd: Remove dead code. Previous cleanup of this function had removed some lines which had left dead code. Just removing that. Fix for coverity CID: 1167461 . Change-Id: I2a34fc407ce0eb4c4ba759c8ce6574a00b37020a BUG: 789278 Signed-off-by: Raghavendra Talur Reviewed-on: http://review.gluster.org/6937 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- glusterfsd/src/glusterfsd.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'glusterfsd') diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c index fb8afc6a4cf..6a4655fc6fb 100644 --- a/glusterfsd/src/glusterfsd.c +++ b/glusterfsd/src/glusterfsd.c @@ -1561,8 +1561,6 @@ glusterfs_pidfile_setup (glusterfs_ctx_t *ctx) ret = 0; out: - if (ret && pidfp) - fclose (pidfp); return ret; } -- cgit