diff options
author | Saya Sugiura <ssugiura@jp.adit-jv.com> | 2019-05-28 16:53:25 +0900 |
---|---|---|
committer | Saya Sugiura <ssugiura@jp.adit-jv.com> | 2019-06-18 17:22:09 +0900 |
commit | a2c4a10eefbb34113cc5c10dee931f95a3d0764d (patch) | |
tree | 764bd7146aad8536292b3178c0c01c227d8e3211 /src | |
parent | c0de69bdfcce3b42bf5450cd57799b117b4ad93f (diff) | |
download | DLT-daemon-a2c4a10eefbb34113cc5c10dee931f95a3d0764d.tar.gz |
libdlt: Remove commented out code
Signed-off-by: Saya Sugiura <ssugiura@jp.adit-jv.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/dlt_user.c | 33 |
1 files changed, 0 insertions, 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 ((loglevel<DLT_LOG_DEFAULT) || (loglevel>DLT_LOG_VERBOSE)) - * { - * return DLT_RETURN_ERROR; - * } - * - * if ((tracestatus<DLT_TRACE_STATUS_DEFAULT) || (tracestatus>DLT_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 ((loglevel<DLT_LOG_DEFAULT) || (loglevel>DLT_LOG_VERBOSE)) - * { - * return DLT_RETURN_ERROR; - * } - * - * if ((tracestatus<DLT_TRACE_STATUS_DEFAULT) || (tracestatus>DLT_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; |