From c1811324ecb417a287f5201ac0aed4916c7569dc Mon Sep 17 00:00:00 2001 From: youngsub ko Date: Tue, 14 May 2013 14:10:57 +0900 Subject: [PATCH] Fixed prevent issues --- src/notification.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/notification.c b/src/notification.c index 35b483a..ae82b03 100755 --- a/src/notification.c +++ b/src/notification.c @@ -1434,11 +1434,6 @@ EXPORT_API notification_error_e notification_get_led_time_period(notification_h return NOTIFICATION_ERROR_INVALID_DATA; } - /* Check noti is valid data */ - if (noti == NULL) { - return NOTIFICATION_ERROR_INVALID_DATA; - } - if (on_ms) *(on_ms) = noti->led_on_ms; if (off_ms) -- 2.7.4