From: youngsub ko Date: Tue, 14 May 2013 05:10:57 +0000 (+0900) Subject: Fixed prevent issues X-Git-Tag: submit/tizen/20130529.220648 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Ftags%2Fsubmit%2Ftizen%2F20130529.220648;p=platform%2Fcore%2Fapi%2Fnotification.git Fixed prevent issues --- 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)