summaryrefslogtreecommitdiff
path: root/server/red_channel.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2012-03-10 15:29:26 +0100
committerHans de Goede <hdegoede@redhat.com>2012-03-12 12:10:51 +0100
commit9a41e552962cb0cc0694a205988197a84914a2d6 (patch)
tree7deac12165463b3afdb9108d9256dc8b63ce2bb8 /server/red_channel.c
parenta7841325b22af56355ba353842d3c01b407f26d9 (diff)
red_channel: remove pre_disconnect hook
Now that red_worker's EventListener is gone there are no more users of it. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'server/red_channel.c')
-rw-r--r--server/red_channel.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/server/red_channel.c b/server/red_channel.c
index 5f906e6..ecb512d 100644
--- a/server/red_channel.c
+++ b/server/red_channel.c
@@ -1191,9 +1191,6 @@ void red_channel_client_disconnect(RedChannelClient *rcc)
return;
}
red_channel_client_pipe_clear(rcc);
- if (rcc->channel->channel_cbs.pre_disconnect) {
- rcc->channel->channel_cbs.pre_disconnect(rcc);
- }
if (rcc->stream->watch) {
rcc->channel->core->watch_remove(rcc->stream->watch);
rcc->stream->watch = NULL;