summaryrefslogtreecommitdiff
path: root/rsThreadIO.cpp
diff options
context:
space:
mode:
authorJason Sams <jsams@google.com>2012-02-09 14:36:14 -0800
committerJason Sams <jsams@google.com>2012-02-09 14:50:50 -0800
commit963a2fb9f03c88633bc67c4a1789429b9a482091 (patch)
tree765eafb2391d12329217fd6cee9d6c7d05193974 /rsThreadIO.cpp
parentee5cf0067c374e1c7e9a0736e24e55f4d19a0721 (diff)
downloadrs-963a2fb9f03c88633bc67c4a1789429b9a482091.tar.gz
Remove unused param.
Change-Id: Idf26c3bf4eec7ed17dbfb99b40c314bce7996101
Diffstat (limited to 'rsThreadIO.cpp')
-rw-r--r--rsThreadIO.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/rsThreadIO.cpp b/rsThreadIO.cpp
index 8e4b9883..4f305731 100644
--- a/rsThreadIO.cpp
+++ b/rsThreadIO.cpp
@@ -89,7 +89,7 @@ void ThreadIO::setTimeoutCallback(void (*cb)(void *), void *dat, uint64_t timeou
//mToCore.setTimeoutCallback(cb, dat, timeout);
}
-bool ThreadIO::playCoreCommands(Context *con, bool waitForCommand, int waitFd) {
+bool ThreadIO::playCoreCommands(Context *con, int waitFd) {
bool ret = false;
uint8_t buf[2 * 1024];
@@ -132,7 +132,6 @@ bool ThreadIO::playCoreCommands(Context *con, bool waitForCommand, int waitFd) {
if (con->props.mLogTimes) {
con->timerSet(Context::RS_TIMER_INTERNAL);
}
- waitForCommand = false;
//ALOGV("playCoreCommands 3 %i %i", cmd->cmdID, cmd->bytes);
if (cmd->cmdID >= (sizeof(gPlaybackFuncs) / sizeof(void *))) {