From a827f55629451299949f1166fdfb3e03f8084556 Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Thu, 7 Dec 2017 14:18:34 -0800 Subject: [PATCH] Fix warning in system/vold/tests. * Comment out unused function. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I18db09be2ff8ef27f822876a6832ca5f08ce939f Merged-In: I7a23573af0d664a5f39f1cde3a22ac0001dac1ac --- tests/CryptfsScryptHidlizationEquivalence_test.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/CryptfsScryptHidlizationEquivalence_test.cpp b/tests/CryptfsScryptHidlizationEquivalence_test.cpp index 9c0d684..2905af2 100644 --- a/tests/CryptfsScryptHidlizationEquivalence_test.cpp +++ b/tests/CryptfsScryptHidlizationEquivalence_test.cpp @@ -369,6 +369,7 @@ static int keymaster_check_compatibility_new() return keymaster_compatibility_cryptfs_scrypt(); } +#if 0 /* Create a new keymaster key and store it in this footer */ static int keymaster_create_key_new(struct crypt_mnt_ftr *ftr) { @@ -390,6 +391,7 @@ static int keymaster_create_key_new(struct crypt_mnt_ftr *ftr) } return 0; } +#endif /* This signs the given object using the keymaster key. */ static int keymaster_sign_object_new(struct crypt_mnt_ftr *ftr,