fix the build.

Fix build error introduced by commit 000002a due to
audio effect API change between JB MR1 and MR2.

Bug: 9557593.

Change-Id: I27bda6f4429b99eec78fd93d7e69810764f4d8d0
diff --git a/tests/tests/security/testeffect/CTSTestEffect.cpp b/tests/tests/security/testeffect/CTSTestEffect.cpp
index 5b4b795..2276f73 100644
--- a/tests/tests/security/testeffect/CTSTestEffect.cpp
+++ b/tests/tests/security/testeffect/CTSTestEffect.cpp
@@ -42,22 +42,6 @@
 //--- Effect Library Interface Implementation
 //
 
-int CTSEffectsLib_QueryNumberEffects(uint32_t *pNumEffects) {
-    *pNumEffects = 1;
-    return 0;
-}
-
-int CTSEffectsLib_QueryEffect(uint32_t index,
-                              effect_descriptor_t *pDescriptor) {
-    if (pDescriptor == NULL) {
-        return -EINVAL;
-    }
-    if (index > 0) {
-        return -EINVAL;
-    }
-    memcpy(pDescriptor, &gCTSEffectsDescriptor, sizeof(effect_descriptor_t));
-    return 0;
-}
 
 int CTSEffectsLib_Create(const effect_uuid_t *uuid,
                          int32_t sessionId,
@@ -212,8 +196,6 @@
     version : EFFECT_LIBRARY_API_VERSION,
     name : "CTS Effects Library",
     implementor : "The Android Open Source Project",
-    query_num_effects : CTSEffectsLib_QueryNumberEffects,
-    query_effect : CTSEffectsLib_QueryEffect,
     create_effect : CTSEffectsLib_Create,
     release_effect : CTSEffectsLib_Release,
     get_descriptor : CTSEffectsLib_GetDescriptor,