Remove error log for reading classid from cgroup 87/193387/1 accepted/tizen/unified/20181123.063320 submit/tizen/20181122.115136
authorhyunuktak <hyunuk.tak@samsung.com>
Tue, 20 Nov 2018 05:45:04 +0000 (14:45 +0900)
committerhyunuktak <hyunuk.tak@samsung.com>
Tue, 20 Nov 2018 05:45:06 +0000 (14:45 +0900)
Change-Id: Ic8783c8cd385f6932a826664ca7d7c05bfba93cc
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
include/stc-manager-util.h [changed mode: 0644->0755]
src/helper/helper-net-cls.c [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 2275b85..b12fff9
@@ -274,7 +274,8 @@ static inline bool strstart_with(const char *str, const char *with)
 
 #define ret_value_errno_msg_if(expr, val, fmt, arg...) do { \
        if (expr) {                                         \
-               STC_LOGE(fmt, ##arg);                       \
+               if (STC_DEBUG_LOG)                          \
+                       STC_LOGE(fmt, ##arg);                       \
                return val;                                 \
        }                                                   \
 } while (0)
old mode 100644 (file)
new mode 100755 (executable)
index faa5942..3f460f7
@@ -80,7 +80,6 @@ static stc_error_e __get_classid_from_cgroup(const char *cgroup,
 
        int ret = cgroup_read_node_uint32(buf, CLASSID_FILE_NAME, classid);
        if (ret < 0) {
-               STC_LOGE("Can't read classid from cgroup %s", buf); //LCOV_EXCL_LINE
                *classid = STC_UNKNOWN_CLASSID;
                return STC_ERROR_NO_DATA;
        }