diff options
author | Glenn Kasten <gkasten@google.com> | 2011-12-13 11:23:47 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2011-12-14 13:31:40 -0800 |
commit | 51e445f701b2173c44db70d5af0861351b6f69b9 (patch) | |
tree | c229212da605fe99e9b9cd8c9148c375f2ae5d74 /media | |
parent | e61fd281a8cb69ae45c5de4b160ab86226083152 (diff) | |
download | frameworks_base-51e445f701b2173c44db70d5af0861351b6f69b9.zip frameworks_base-51e445f701b2173c44db70d5af0861351b6f69b9.tar.gz frameworks_base-51e445f701b2173c44db70d5af0861351b6f69b9.tar.bz2 |
Remove redundant clear()
Change-Id: Ie5e4e63cbc8fa85ef50451dddf8f149fa864b132
Diffstat (limited to 'media')
-rw-r--r-- | media/libmedia/AudioTrack.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/media/libmedia/AudioTrack.cpp b/media/libmedia/AudioTrack.cpp index 7e55fbd..8cbb501 100644 --- a/media/libmedia/AudioTrack.cpp +++ b/media/libmedia/AudioTrack.cpp @@ -809,9 +809,7 @@ status_t AudioTrack::createTrack_l( LOGE("Could not get control block"); return NO_INIT; } - mAudioTrack.clear(); mAudioTrack = track; - mCblkMemory.clear(); mCblkMemory = cblk; mCblk = static_cast<audio_track_cblk_t*>(cblk->pointer()); android_atomic_or(CBLK_DIRECTION_OUT, &mCblk->flags); |