[Pdbg] [PATCH 10/13] libpdbg: Drop unused struct dt_property
Amitay Isaacs
amitay at ozlabs.org
Wed Jan 15 16:18:58 AEDT 2020
Signed-off-by: Amitay Isaacs <amitay at ozlabs.org>
---
libpdbg/device.c | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/libpdbg/device.c b/libpdbg/device.c
index b60b0aa..6deeec5 100644
--- a/libpdbg/device.c
+++ b/libpdbg/device.c
@@ -40,21 +40,6 @@ static uint32_t last_phandle = 0;
static struct pdbg_target *pdbg_dt_root;
-/*
- * An in-memory representation of a node in the device tree.
- *
- * This is trivially flattened into an fdt.
- *
- * Note that the add_* routines will make a copy of the name if it's not
- * a read-only string (ie. usually a string literal).
- */
-struct dt_property {
- struct list_node list;
- const char *name;
- size_t len;
- char prop[/* len */];
-};
-
static const char *take_name(const char *name)
{
if (!is_rodata(name) && !(name = strdup(name))) {
--
2.21.1
More information about the Pdbg
mailing list