aboutsummaryrefslogtreecommitdiff
path: root/ovsdb
diff options
context:
space:
mode:
Diffstat (limited to 'ovsdb')
-rw-r--r--ovsdb/table.c14
-rw-r--r--ovsdb/table.h1
2 files changed, 0 insertions, 15 deletions
diff --git a/ovsdb/table.c b/ovsdb/table.c
index 2ea73bf8..44a205e9 100644
--- a/ovsdb/table.c
+++ b/ovsdb/table.c
@@ -251,17 +251,3 @@ ovsdb_table_get_row(const struct ovsdb_table *table, const struct uuid *uuid)
return NULL;
}
-
-/* This is probably not the function you want. Use ovsdb_txn_row_modify()
- * instead. */
-bool
-ovsdb_table_put_row(struct ovsdb_table *table, struct ovsdb_row *row)
-{
- const struct uuid *uuid = ovsdb_row_get_uuid(row);
- if (!ovsdb_table_get_row(table, uuid)) {
- hmap_insert(&table->rows, &row->hmap_node, uuid_hash(uuid));
- return true;
- } else {
- return false;
- }
-}
diff --git a/ovsdb/table.h b/ovsdb/table.h
index 95da7403..8e933438 100644
--- a/ovsdb/table.h
+++ b/ovsdb/table.h
@@ -62,6 +62,5 @@ void ovsdb_table_destroy(struct ovsdb_table *);
const struct ovsdb_row *ovsdb_table_get_row(const struct ovsdb_table *,
const struct uuid *);
-bool ovsdb_table_put_row(struct ovsdb_table *, struct ovsdb_row *);
#endif /* ovsdb/table.h */