git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3:rpc_client: remove more unused code
[ira/wip.git]
/
source3
/
rpc_client
/
rpc_transport_np.c
diff --git
a/source3/rpc_client/rpc_transport_np.c
b/source3/rpc_client/rpc_transport_np.c
index cf659da592c782560d5fb617c964c3a6d79ba720..e00c1f30ba4f34473e27d66cdb256a5a68f9002a 100644
(file)
--- a/
source3/rpc_client/rpc_transport_np.c
+++ b/
source3/rpc_client/rpc_transport_np.c
@@
-513,15
+513,3
@@
struct cli_state *rpc_pipe_np_smb_conn(struct rpc_pipe_client *p)
}
return state->cli;
}
-
-void rpccli_close_np_fd(struct rpc_pipe_client *p)
-{
- struct cli_state *cli = rpc_pipe_np_smb_conn(p);
- if (cli) {
- if (cli->fd != -1) {
- close(cli->fd);
- cli->fd = -1;
- }
- }
- return;
-}