gathdlc: Squash unneeded function

This commit is contained in:
Denis Kenzior 2011-05-22 08:17:20 -05:00
parent ce71d75675
commit 6f6a9747f8
1 changed files with 1 additions and 6 deletions

View File

@ -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);
}