Parse and vibrate using standard pattern
[platform/core/system/feedbackd.git] / src / haptic / circle.c
index 1b63660..9c756e7 100644 (file)
@@ -320,8 +320,6 @@ static const struct haptic_plugin_ops default_plugin = {
 
 static bool is_valid(void)
 {
-       int ret;
-
        if ((access(CIRCLE_ON_PATH, R_OK) != 0) ||
                (access(CIRCLE_OFF_PATH, R_OK) != 0)) {
                _E("Do not support wearable haptic device");
@@ -329,9 +327,7 @@ static bool is_valid(void)
                return false;
        }
 
-       ret = standard_config_parse();
-       if (ret < 0)
-               _E("failed to load standard vibration configuration file : %d", ret);
+       standard_config_parse();
 
        state = true;
        _I("Support wearable haptic device");