diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2019-03-28 11:03:34 +0530 |
---|---|---|
committer | Pranith Kumar K <pkarampu@redhat.com> | 2019-03-28 11:05:25 +0530 |
commit | 108e4f3481225f98c12f7c283e1ef0388863cf8b (patch) | |
tree | 764086cdb3b039b9986f0adc27a36dccf8885f17 /rpc/rpc-lib/src/rpc-clnt.h | |
parent | a7110486d048fa379f33ae4e0ba94b5ef3560489 (diff) |
rpc: Remove duplicate code
rpc_clnt_disable() and rpc_clnt_disconnect() have same code.
Removed rpc_clnt_disconnect() and moved calls to rpc_clnt_disconnect()
to rpc_clnt_disable()
updates bz#1193929
Change-Id: I965f57cc1d5af36d266810125558b6f5e5f279d4
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Diffstat (limited to 'rpc/rpc-lib/src/rpc-clnt.h')
-rw-r--r-- | rpc/rpc-lib/src/rpc-clnt.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/rpc/rpc-lib/src/rpc-clnt.h b/rpc/rpc-lib/src/rpc-clnt.h index d16cc40aefe..b46feed50c8 100644 --- a/rpc/rpc-lib/src/rpc-clnt.h +++ b/rpc/rpc-lib/src/rpc-clnt.h @@ -253,9 +253,6 @@ rpcclnt_cbk_program_register(struct rpc_clnt *svc, void rpc_clnt_disable(struct rpc_clnt *rpc); -void -rpc_clnt_disconnect(struct rpc_clnt *rpc); - int rpc_clnt_mgmt_pmap_signout(glusterfs_ctx_t *ctx, char *brick_name); |