From dc174a4d60ebca6a67e32c1834c2f0dcbff2c3c0 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Thu, 22 Mar 2012 04:11:38 -0700 Subject: Revert "core: enable process to return the appropriate error code" This reverts commit 16717f4df7b0fbd3c255f5faf8a2744444231bb7 Change-Id: I65624db4d31e11e1bec66b07b352ce823ef069b9 Reviewed-on: http://review.gluster.com/3001 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- libglusterfs/src/globals.c | 3 --- libglusterfs/src/glusterfs.h | 1 - 2 files changed, 4 deletions(-) (limited to 'libglusterfs') diff --git a/libglusterfs/src/globals.c b/libglusterfs/src/globals.c index 64b25663595..e041ce5d6b4 100644 --- a/libglusterfs/src/globals.c +++ b/libglusterfs/src/globals.c @@ -114,9 +114,6 @@ glusterfs_ctx_init () INIT_LIST_HEAD (&glusterfs_ctx->mempool_list); ret = pthread_mutex_init (&glusterfs_ctx->lock, NULL); - glusterfs_ctx->daemon_pipe[0] = -1; - glusterfs_ctx->daemon_pipe[1] = -1; - out: return ret; } diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h index fc9c062534b..a3adf151b19 100644 --- a/libglusterfs/src/glusterfs.h +++ b/libglusterfs/src/glusterfs.h @@ -378,7 +378,6 @@ struct _glusterfs_ctx { int mem_accounting; /* if value is other than 0, it will be set */ - int daemon_pipe[2]; }; typedef struct _glusterfs_ctx glusterfs_ctx_t; -- cgit