From: Marcel Holtmann Date: Tue, 13 Apr 2010 00:53:29 +0000 (-0700) Subject: Remove useless debug in PPP transmit destroy callback X-Git-Tag: 0.21~400 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=143d6db7c399274624e29d62b47561e7f6c385eb;p=platform%2Fupstream%2Fofono.git Remove useless debug in PPP transmit destroy callback --- diff --git a/gatchat/gatppp.c b/gatchat/gatppp.c index 259fdeb..2e45e6b 100644 --- a/gatchat/gatppp.c +++ b/gatchat/gatppp.c @@ -660,9 +660,8 @@ static void ppp_xmit_destroy_notify(gpointer destroy_data) { GAtPPP *ppp = destroy_data; - g_print("%s\n", __FUNCTION__); - ppp->write_watch = 0; + if (ppp->phase == PPP_DEAD) ppp_dead(ppp); }