diff --git a/audio/headset.c b/audio/headset.c index e97a99cf5..3af4d05a0 100644 --- a/audio/headset.c +++ b/audio/headset.c @@ -208,10 +208,8 @@ static gboolean rfcomm_io_cb(GIOChannel *chan, GIOCondition cond, err = g_io_channel_read(chan, (gchar *) buf, sizeof(buf) - 1, &bytes_read); - if (err != G_IO_ERROR_NONE) { - error("Ignoring error %d", err); + if (err != G_IO_ERROR_NONE) return TRUE; - } free_space = sizeof(hs->buf) - hs->data_start - hs->data_length - 1;