Remove bt_component_set_name()
[babeltrace.git] / lib / graph / component.c
index 9ed599448880b647d4d122fd9c50c2d8bb297cde..5e6a3303a1aa955770f0ddb4ab8117fb81d3490c 100644 (file)
@@ -330,21 +330,6 @@ end:
        return ret;
 }
 
-enum bt_component_status bt_component_set_name(struct bt_component *component,
-               const char *name)
-{
-       enum bt_component_status ret = BT_COMPONENT_STATUS_OK;
-
-       if (!component || !name || name[0] == '\0') {
-               ret = BT_COMPONENT_STATUS_INVALID;
-               goto end;
-       }
-
-       g_string_assign(component->name, name);
-end:
-       return ret;
-}
-
 struct bt_component_class *bt_component_get_class(
                struct bt_component *component)
 {
This page took 0.02361 seconds and 4 git commands to generate.