aboutsummaryrefslogtreecommitdiffstats
path: root/src/afb-stub-ws.c
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-04-20 12:52:23 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-04-20 16:13:59 +0200
commit968c3fca18c7518f240d2487a561e8df8b2907a7 (patch)
tree782af846c36e867a7bd202f6674580f7ab5fdbef /src/afb-stub-ws.c
parent3634c468ec7de94f6911c532a606625418fa5133 (diff)
cleanup and improvement of xreq
Change-Id: Iefda7f9d8f979a50fb2586a27edf0ca16d056a1f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-stub-ws.c')
-rw-r--r--src/afb-stub-ws.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/afb-stub-ws.c b/src/afb-stub-ws.c
index 042ed252..8298fc7b 100644
--- a/src/afb-stub-ws.c
+++ b/src/afb-stub-ws.c
@@ -1156,15 +1156,3 @@ void afb_stub_ws_addref(struct afb_stub_ws *stubws)
__atomic_add_fetch(&stubws->refcount, 1, __ATOMIC_RELAXED);
}
-/*
-static void client_disconnect(struct afb_stub_ws *stubws)
-{
- if (stubws->fd >= 0) {
- afb_ws_destroy(stubws->ws);
- stubws->ws = NULL;
- close(stubws->fd);
- stubws->fd = -1;
- }
-}
-*/
-