diff options
author | Christopher N. Hesse <raymanfx@gmail.com> | 2016-10-25 01:12:56 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2016-11-15 08:34:27 +0100 |
commit | 1f007667a66bf68414ae0cf95ce6aa72537d8e40 (patch) | |
tree | b9e02c27daa89fad4345708d8863de0b9df18331 | |
parent | 585cd3f6459846a544e2791b618b39e7ca21c26d (diff) | |
download | android_hardware_samsung_slsi_exynos5430-1f007667a66bf68414ae0cf95ce6aa72537d8e40.tar.gz android_hardware_samsung_slsi_exynos5430-1f007667a66bf68414ae0cf95ce6aa72537d8e40.tar.xz android_hardware_samsung_slsi_exynos5430-1f007667a66bf68414ae0cf95ce6aa72537d8e40.zip |
mobicore: Remove unused checkMciVersion function
Change-Id: I4bae57b9ab28377d01323c24332a7793513ca9d9
-rw-r--r-- | mobicore/daemon/Daemon/Device/Platforms/Generic/TrustZoneDevice.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/mobicore/daemon/Daemon/Device/Platforms/Generic/TrustZoneDevice.cpp b/mobicore/daemon/Daemon/Device/Platforms/Generic/TrustZoneDevice.cpp index d104926..1f8359a 100644 --- a/mobicore/daemon/Daemon/Device/Platforms/Generic/TrustZoneDevice.cpp +++ b/mobicore/daemon/Daemon/Device/Platforms/Generic/TrustZoneDevice.cpp @@ -305,28 +305,6 @@ uint32_t TrustZoneDevice::getMobicoreStatus(void) } //------------------------------------------------------------------------------ -bool TrustZoneDevice::checkMciVersion(void) -{ - uint32_t version = 0; - int ret; - char *errmsg; - - ret = pMcKMod->fcInfo(MC_EXT_INFO_ID_MCI_VERSION, NULL, &version); - if (ret != 0) { - LOG_E("pMcKMod->fcInfo() failed with %d", ret); - return false; - } - - // Run-time check. - if (!checkVersionOkMCI(version, &errmsg)) { - LOG_E("%s", errmsg); - return false; - } - LOG_I("%s", errmsg); - return true; -} - -//------------------------------------------------------------------------------ void TrustZoneDevice::dumpMobicoreStatus( void ) { |