From 10cda54ece58b5de918cefb332df0143bdedec82 Mon Sep 17 00:00:00 2001 From: tick Date: Mon, 3 Dec 2007 06:42:17 +0000 Subject: gsmd: Just avoid unnecessary remove-timer() function call when get multi-line (Sean Chiang) git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3550 99fdad57-331a-0410-800a-d7fa5415bdb3 --- src/gsmd/atcmd.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/gsmd/atcmd.c b/src/gsmd/atcmd.c index 371dbb5..c1d9324 100644 --- a/src/gsmd/atcmd.c +++ b/src/gsmd/atcmd.c @@ -363,8 +363,6 @@ static int ml_parse(const char *buf, int len, void *ctx) /* it might be a multiline response, so if there's a previous response, send out mlbuf and start afresh with an empty buffer */ if (g->mlbuf_len) { - /* remove timer if get respond before timeout */ - remove_timer(cmd); if (!cmd->cb) { gsmd_log(GSMD_NOTICE, "command without cb!!!\n"); } else { -- cgit v1.2.3