Fix tizen coding style errors and warnings
[platform/core/connectivity/bluetooth-frwk.git] / bt-api / bt-event-handler.c
index f1cb967..8e2a0f7 100644 (file)
@@ -3084,9 +3084,8 @@ static void __bt_otp_event_filter(GDBusConnection *connection,
                                result, info,
                                event_info->cb, event_info->user_data);
 
-               if (info->handle) {
+               if (info->handle)
                        g_free(info->handle);
-               }
 
                if (info->data) {
                        g_free(info->data);
@@ -3137,9 +3136,8 @@ static void __bt_otp_event_filter(GDBusConnection *connection,
                                result,  ind_res,
                                event_info->cb, event_info->user_data);
 
-               if (ind_res->handle) {
+               if (ind_res->handle)
                        g_free(ind_res->handle);
-               }
 
                if (ind_res->data) {
                        g_free(ind_res->data);