Code optimize
[platform/core/connectivity/bluetooth-frwk.git] / bt-service / bt-service-util.c
index 681d35c..5fb2214 100755 (executable)
@@ -86,9 +86,6 @@ int _bt_insert_request_list(int req_id, int service_function,
        request_info_t *info;
 
        info = g_malloc0(sizeof(request_info_t));
-       /* Fix : NULL_RETURNS */
-       retv_if(info == NULL, BLUETOOTH_ERROR_MEMORY_ALLOCATION);
-
        info->req_id = req_id;
        info->service_function = service_function;
        info->context = context;