diff options
Diffstat (limited to 'storaged/main.cpp')
-rw-r--r-- | storaged/main.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/storaged/main.cpp b/storaged/main.cpp index e25298b12..2f2273dc1 100644 --- a/storaged/main.cpp +++ b/storaged/main.cpp @@ -43,7 +43,6 @@ #include <storaged_utils.h> storaged_t storaged; -emmc_info_t emmc_info; // Function of storaged's main thread void* storaged_main(void* s) { @@ -114,10 +113,7 @@ int main(int argc, char** argv) { } if (flag_main_service) { // start main thread - if (emmc_info.init()) { - storaged.set_storage_info(&emmc_info); - } - + report_storage_health(); // Start the main thread of storaged pthread_t storaged_main_thread; errno = pthread_create(&storaged_main_thread, NULL, storaged_main, &storaged); |