X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-stub-ws.c;h=8298fc7bdd9ca022b7cccb4f60107774137d37ac;hb=968c3fca18c7518f240d2487a561e8df8b2907a7;hp=042ed252b8d8d608bb7970668f383cb97f26e30e;hpb=3634c468ec7de94f6911c532a606625418fa5133;p=src%2Fapp-framework-binder.git 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; - } -} -*/ -