summaryrefslogtreecommitdiffstats
path: root/rsElement.cpp
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2009-08-18 14:14:24 -0700
committerJason Sams <rjsams@android.com>2009-08-18 14:20:07 -0700
commit707aaf341a4b068e6ccadf923af85acdd85fd775 (patch)
tree1fb548273a1c4b0bf6d2946497f78372eb5ba8e4 /rsElement.cpp
parent2275d635bd1d1b716ae22ee7507583e5013d55f4 (diff)
downloadandroid_frameworks_rs-707aaf341a4b068e6ccadf923af85acdd85fd775.tar.gz
android_frameworks_rs-707aaf341a4b068e6ccadf923af85acdd85fd775.tar.bz2
android_frameworks_rs-707aaf341a4b068e6ccadf923af85acdd85fd775.zip
Cleanup of object destruction. No need to have a per-class destruction function. This was a legacy of the distant past when the classes did not have a common base.
Diffstat (limited to 'rsElement.cpp')
-rw-r--r--rsElement.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/rsElement.cpp b/rsElement.cpp
index 97b18c06..389b2c0e 100644
--- a/rsElement.cpp
+++ b/rsElement.cpp
@@ -416,12 +416,6 @@ RsElement rsi_ElementCreate(Context *rsc)
return se;
}
-void rsi_ElementDestroy(Context *rsc, RsElement vse)
-{
- Element * se = static_cast<Element *>(vse);
- se->decRef();
-}
-
}
}