From d65a334691fd339b770114a35edd4d14e9db2678 Mon Sep 17 00:00:00 2001 From: Anoop C S Date: Wed, 3 Jun 2015 11:38:13 +0530 Subject: protocol/client: Remove unused function clnt_mark_fd_bad() clnt_mark_fd_bad() is no longer used to mark the fd bad. Instead we make use of client_mark_fd_bad() to do the same. Change-Id: I09af892d8c0c5d1cf853ff020e8596c53d9539c0 BUG: 1227667 Signed-off-by: Anoop C S Reviewed-on: http://review.gluster.org/11063 Tested-by: Gluster Build System Tested-by: NetBSD Build System Reviewed-by: Krishnan Parthasarathi --- xlators/protocol/client/src/client-handshake.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'xlators') diff --git a/xlators/protocol/client/src/client-handshake.c b/xlators/protocol/client/src/client-handshake.c index 96f61eb5bed..0df5980f0c8 100644 --- a/xlators/protocol/client/src/client-handshake.c +++ b/xlators/protocol/client/src/client-handshake.c @@ -319,16 +319,6 @@ out: return local; } -void -clnt_mark_fd_bad (clnt_conf_t *conf, clnt_fd_ctx_t *fdctx) -{ - pthread_mutex_lock (&conf->lock); - { - fdctx->remote_fd = -1; - } - pthread_mutex_unlock (&conf->lock); -} - int clnt_release_reopen_fd_cbk (struct rpc_req *req, struct iovec *iov, int count, void *myframe) -- cgit