Removed unreachable code 96/130396/1 accepted/tizen/unified/20170531.082343 submit/tizen/20170522.074618
authorhyunuktak <hyunuk.tak@samsung.com>
Mon, 22 May 2017 07:32:41 +0000 (16:32 +0900)
committerhyunuktak <hyunuk.tak@samsung.com>
Mon, 22 May 2017 07:32:44 +0000 (16:32 +0900)
Change-Id: Iac675e67967222ab7626b8ab0633a330685d8bf0
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
packaging/stc-manager.spec
src/helper/helper-net-cls.c

index 1dc1552..d3fdb69 100644 (file)
@@ -1,6 +1,6 @@
 Name:       stc-manager
 Summary:    STC(Smart Traffic Control) manager
-Version:    0.0.7
+Version:    0.0.8
 Release:    0
 Group:      Network & Connectivity/Other
 License:    Apache-2.0
index c057527..d08f559 100755 (executable)
@@ -46,11 +46,6 @@ static uint32_t __produce_classid(check_classid_used_cb check_classid_cb)
                                break;
                }
 
-       if (classid_test_count == INT32_MAX) {
-               STC_LOGE("there is no available classid due to kernel limitation");
-               return STC_UNKNOWN_CLASSID;
-       }
-
        ret = fwrite_uint(CUR_CLASSID_PATH, ++classid);
        if (ret < 0)
                STC_LOGE("Can not write classid");