summaryrefslogtreecommitdiffstats
path: root/glusterfsd/src
diff options
context:
space:
mode:
authorRaghavendra Talur <rtalur@redhat.com>2014-02-07 16:45:58 +0530
committerVijay Bellur <vbellur@redhat.com>2014-03-22 10:04:19 -0700
commit2a77659e9c25cc51fed193147ba3bfea56c5f8f9 (patch)
tree11d90407d2d15b8d735f7faefa641af1ed164607 /glusterfsd/src
parentdc6f7acaeda69ac0765812b3d961197a68ef9bf5 (diff)
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 <rtalur@redhat.com> Reviewed-on: http://review.gluster.org/6937 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'glusterfsd/src')
-rw-r--r--glusterfsd/src/glusterfsd.c2
1 files changed, 0 insertions, 2 deletions
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;
}