cryptfs_hw: Cleanup should_use_keymaster

* Remove duplicated logic

Change-Id: I7a644b2bb7954c9491d6111b3d9614fd9d6ac64b
diff --git a/cryptfs_hw.c b/cryptfs_hw.c
index 53c3198..fbbd536 100644
--- a/cryptfs_hw.c
+++ b/cryptfs_hw.c
@@ -506,26 +506,15 @@
 
 int should_use_keymaster()
 {
-    int rc = 1;
-#ifdef LEGACY_HW_DISK_ENCRYPTION
-    /*
-     * HW FDE key should be tied to keymaster only if
-     * new Keymaster is available
-     */
-    if (get_keymaster_version() != KEYMASTER_MODULE_API_VERSION_1_0) {
-        SLOGI("Keymaster version is not 1.0");
-        rc = 0;
-    }
-#else
     /*
      * HW FDE key should be tied to keymaster
      * if version is above 0.3. this is to
      * support msm8909 go target.
      */
-     if (get_keymaster_version() == KEYMASTER_MODULE_API_VERSION_0_3) {
+    int rc = 1;
+    if (get_keymaster_version() == KEYMASTER_MODULE_API_VERSION_0_3) {
         SLOGI("Keymaster version is 0.3");
         rc = 0;
-     }
-#endif
-     return rc;
+    }
+    return rc;
 }