From def42a87ca37b9a656c4ba43389fd191fa6d7fcc Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Tue, 21 Aug 2007 13:46:34 +0000 Subject: Remove unnecessary assert --- audio/pcm_bluetooth.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'audio/pcm_bluetooth.c') diff --git a/audio/pcm_bluetooth.c b/audio/pcm_bluetooth.c index 425d27fb..a1184a5b 100644 --- a/audio/pcm_bluetooth.c +++ b/audio/pcm_bluetooth.c @@ -562,13 +562,6 @@ static int avdtp_write(struct bluetooth_data *data) if (ret == -1) ret = -errno; - /* Kernel side l2cap socket layer makes sure either everything - is buffered for sending, or nothing is buffered. - This assertion is to remind people of this fact (and be noticed - the day that changes) - */ - assert(ret < 0 || ret == a2dp->count); - /* Reset buffer of data to send */ a2dp->count = sizeof(struct rtp_header) + sizeof(struct rtp_payload); a2dp->frame_count = 0; -- cgit