Code cleanup to make formatting consistent
across all the renderscript files.
Change-Id: Idf5fcc60877e44c8f074f7176e37f70b3b895a3c
diff --git a/libs/rs/rsMutex.cpp b/libs/rs/rsMutex.cpp
index 37752f2..2105288 100644
--- a/libs/rs/rsMutex.cpp
+++ b/libs/rs/rsMutex.cpp
@@ -20,17 +20,14 @@
using namespace android::renderscript;
-Mutex::Mutex()
-{
+Mutex::Mutex() {
}
-Mutex::~Mutex()
-{
+Mutex::~Mutex() {
pthread_mutex_destroy(&mMutex);
}
-bool Mutex::init()
-{
+bool Mutex::init() {
int status = pthread_mutex_init(&mMutex, NULL);
if (status) {
LOGE("Mutex::Mutex init failure");
@@ -39,8 +36,7 @@
return true;
}
-bool Mutex::lock()
-{
+bool Mutex::lock() {
int status;
status = pthread_mutex_lock(&mMutex);
if (status) {
@@ -50,8 +46,7 @@
return true;
}
-bool Mutex::unlock()
-{
+bool Mutex::unlock() {
int status;
status = pthread_mutex_unlock(&mMutex);
if (status) {