diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2007-08-21 13:46:34 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2007-08-21 13:46:34 +0000 |
commit | def42a87ca37b9a656c4ba43389fd191fa6d7fcc (patch) | |
tree | 6459cfe2fa74c1559c77afbed20619a2dfb1dafb | |
parent | ab0c221fff20faaaf6060679f8002d65ecb36253 (diff) |
Remove unnecessary assert
-rw-r--r-- | audio/pcm_bluetooth.c | 7 |
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; |