diff options
author | Denis Kenzior <denkenz@gmail.com> | 2011-05-22 08:17:20 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2011-05-24 12:25:07 -0500 |
commit | 6f6a9747f84804cf4076a68112b83ea7edc37222 (patch) | |
tree | 5d1d0a248457af500c8d92dc4aea6e98c452218a /gatchat/gathdlc.c | |
parent | ce71d75675120ae06d6ea8d8dee341c578a7353b (diff) | |
download | ofono-6f6a9747f84804cf4076a68112b83ea7edc37222.tar.bz2 |
gathdlc: Squash unneeded function
Diffstat (limited to 'gatchat/gathdlc.c')
-rw-r--r-- | gatchat/gathdlc.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gatchat/gathdlc.c b/gatchat/gathdlc.c index d04ba384..272d7b59 100644 --- a/gatchat/gathdlc.c +++ b/gatchat/gathdlc.c @@ -623,11 +623,6 @@ void g_at_hdlc_suspend(GAtHDLC *hdlc) g_at_io_set_read_handler(hdlc->io, NULL, NULL); } -static void hdlc_wakeup_writer(GAtHDLC *hdlc) -{ - g_at_io_set_write_handler(hdlc->io, can_write_data, hdlc); -} - void g_at_hdlc_resume(GAtHDLC *hdlc) { if (hdlc == NULL) @@ -636,5 +631,5 @@ void g_at_hdlc_resume(GAtHDLC *hdlc) g_at_io_set_read_handler(hdlc->io, new_bytes, hdlc); if (g_queue_get_length(hdlc->write_queue) > 0) - hdlc_wakeup_writer(hdlc); + g_at_io_set_write_handler(hdlc->io, can_write_data, hdlc); } |