From: youngsub ko Date: Tue, 14 May 2013 05:10:57 +0000 (+0900) Subject: Fixed prevent issues X-Git-Tag: submit/tizen_2.1/20130515.031043^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_2.1;p=platform%2Fcore%2Fapi%2Fnotification.git Fixed prevent issues --- diff --git a/src/notification.c b/src/notification.c index 35b483aa..ae82b034 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)