From a2c4a10eefbb34113cc5c10dee931f95a3d0764d Mon Sep 17 00:00:00 2001 From: Saya Sugiura Date: Tue, 28 May 2019 16:53:25 +0900 Subject: libdlt: Remove commented out code Signed-off-by: Saya Sugiura --- src/lib/dlt_user.c | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/src/lib/dlt_user.c b/src/lib/dlt_user.c index f9318cb..7c8ca90 100644 --- a/src/lib/dlt_user.c +++ b/src/lib/dlt_user.c @@ -1422,25 +1422,6 @@ DltReturnValue dlt_set_application_ll_ts_limit(DltLogLevelType loglevel, DltTrac } } - /* Removed because of DltLogLevelType and DltTraceStatusType - * - * if ((loglevelDLT_LOG_VERBOSE)) - * { - * return DLT_RETURN_ERROR; - * } - * - * if ((tracestatusDLT_TRACE_STATUS_ON)) - * { - * return DLT_RETURN_ERROR; - * } - * - * if (dlt_user.dlt_ll_ts==0) - * { - * return DLT_RETURN_ERROR; - * } - * - */ - DLT_SEM_LOCK(); if (dlt_user.dlt_ll_ts == NULL) { @@ -3933,20 +3914,6 @@ DltReturnValue dlt_send_app_ll_ts_limit(const char *appid, DltLogLevelType logle if ((appid == NULL) || (appid[0] == '\0')) return DLT_RETURN_ERROR; - /* Removed because of DltLogLevelType and DltTraceStatusType - * - * if ((loglevelDLT_LOG_VERBOSE)) - * { - * return DLT_RETURN_ERROR; - * } - * - * if ((tracestatusDLT_TRACE_STATUS_ON)) - * { - * return DLT_RETURN_ERROR; - * } - * - */ - /* set userheader */ if (dlt_user_set_userheader(&userheader, DLT_USER_MESSAGE_APP_LL_TS) < DLT_RETURN_OK) return DLT_RETURN_ERROR; -- cgit v1.2.1