From 5f8d229bd874a74bbff8fc3181174b89b4987e11 Mon Sep 17 00:00:00 2001 From: SukhyungKang Date: Wed, 20 Mar 2024 16:42:56 +0900 Subject: [PATCH] Remove unnecessary code Change-Id: I76f201e794a898e2baba6b256b71b5ef4b5dfbf6 Signed-off-by: SukhyungKang --- notification/src/notification_internal.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/notification/src/notification_internal.c b/notification/src/notification_internal.c index 804f967..22779df 100644 --- a/notification/src/notification_internal.c +++ b/notification/src/notification_internal.c @@ -72,7 +72,6 @@ static GHashTable *_noti_cb_hash = NULL; static GList *__noti_event_cb_list = NULL; static GRecMutex __rec_mutex; -static gint __init_mutex = 0; NOTIFICATION_CTOR static void __notification_init(void) { @@ -745,7 +744,6 @@ EXPORT_API int notification_delete_group_by_group_id(const char *app_id, __notification_mutex_unlock(); -out: if (caller_app_id) free(caller_app_id); @@ -772,7 +770,6 @@ int notification_delete_group_by_priv_id_for_uid(const char *app_id, __notification_mutex_unlock(); -out: if (caller_app_id) free(caller_app_id); @@ -930,7 +927,6 @@ int notification_delete_all_by_type_for_uid(const char *app_id, __notification_mutex_unlock(); -out: if (caller_app_id) free(caller_app_id); @@ -967,7 +963,6 @@ int notification_delete_by_priv_id_for_uid(const char *app_id, __notification_mutex_unlock(); -out: if (caller_app_id) free(caller_app_id); @@ -1617,7 +1612,6 @@ EXPORT_API int notification_delete_all_for_uid(notification_type_e type, uid_t u __notification_mutex_unlock(); -out: if (caller_app_id) free(caller_app_id); -- 2.7.4