From: sanghyeok.oh Date: Tue, 28 Apr 2020 01:59:18 +0000 (+0900) Subject: Remove unnecessary code X-Git-Tag: submit/tizen/20200527.060137~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6c643193b26a43569375df60c2084c1be40845cf;p=platform%2Fcore%2Fsystem%2Fstoraged.git Remove unnecessary code Change-Id: Id97ff4a0bbfd2b6d6b9c06399a0d6bb05ac74707 --- diff --git a/src/storage/storage.c b/src/storage/storage.c index 1badb90..ead6194 100644 --- a/src/storage/storage.c +++ b/src/storage/storage.c @@ -491,13 +491,7 @@ static gboolean check_storage_status(gpointer data) dAvail = (double)s.f_bsize * s.f_bavail; storage_status_broadcast(&storage_opt_info, dTotal, dAvail); - if (memnoti_timer) { - g_source_remove(memnoti_timer); - memnoti_timer = g_timeout_add(MEMNOTI_TIMER_INTERVAL, - check_storage_status, NULL); - } - - return G_SOURCE_REMOVE; + return G_SOURCE_CONTINUE; } static int init_storage_config_info_all(void)