summaryrefslogtreecommitdiff
path: root/cpu_ref
diff options
context:
space:
mode:
authorLogan Chien <tzuhsiang.chien@gmail.com>2015-04-19 20:28:10 +0800
committerStephen Hines <srhines@google.com>2015-04-21 00:17:23 +0000
commit247f8ee57196d6cf3264e6f7505f53e8f8a7860d (patch)
tree0a929ebf8710f7deaa2f2c4fd2ec9f4b4646f8f3 /cpu_ref
parentf6dc05e18930bdb5ca74e5be773ee269263fb676 (diff)
downloadrs-247f8ee57196d6cf3264e6f7505f53e8f8a7860d.tar.gz
Code cleanup: Remove unused typedefs and declarations.
Change-Id: I48dafb2bc1dc335a52b289db2981397251f673c8
Diffstat (limited to 'cpu_ref')
-rw-r--r--cpu_ref/rsCpuCore.cpp5
-rw-r--r--cpu_ref/rsCpuScript.cpp2
2 files changed, 0 insertions, 7 deletions
diff --git a/cpu_ref/rsCpuCore.cpp b/cpu_ref/rsCpuCore.cpp
index 8dbf296b..e2d3bf1c 100644
--- a/cpu_ref/rsCpuCore.cpp
+++ b/cpu_ref/rsCpuCore.cpp
@@ -343,11 +343,6 @@ RsdCpuReferenceImpl::~RsdCpuReferenceImpl() {
}
-typedef void (*rs_t)(const void *, void *, const void *, uint32_t, uint32_t, uint32_t, uint32_t);
-typedef void (*walk_loop_t)(const MTLaunchStruct*,
- RsExpandKernelDriverInfo,
- outer_foreach_t);
-
static inline void FepPtrSetup(const MTLaunchStruct *mtls, RsExpandKernelDriverInfo *fep,
uint32_t x, uint32_t y,
uint32_t z = 0, uint32_t lod = 0,
diff --git a/cpu_ref/rsCpuScript.cpp b/cpu_ref/rsCpuScript.cpp
index 29423de2..fd40c21d 100644
--- a/cpu_ref/rsCpuScript.cpp
+++ b/cpu_ref/rsCpuScript.cpp
@@ -487,8 +487,6 @@ void RsdCpuScriptImpl::populateScript(Script *script) {
}
-typedef void (*rs_t)(const void *, void *, const void *, uint32_t, uint32_t, uint32_t, uint32_t);
-
bool RsdCpuScriptImpl::forEachMtlsSetup(const Allocation ** ains,
uint32_t inLen,
Allocation * aout,