summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-08-21 13:46:34 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-08-21 13:46:34 +0000
commitdef42a87ca37b9a656c4ba43389fd191fa6d7fcc (patch)
tree6459cfe2fa74c1559c77afbed20619a2dfb1dafb /audio
parentab0c221fff20faaaf6060679f8002d65ecb36253 (diff)
Remove unnecessary assert
Diffstat (limited to 'audio')
-rw-r--r--audio/pcm_bluetooth.c7
1 files changed, 0 insertions, 7 deletions
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;