[Pdbg] [PATCH 10/13] libpdbg: Drop unused struct dt_property
Alistair Popple
alistair at popple.id.au
Thu Jan 16 12:34:45 AEDT 2020
Reviewed-by: Alistair Popple <alistair at popple.id.au>
On Wednesday, 15 January 2020 4:18:58 PM AEDT Amitay Isaacs wrote:
> 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))) {
More information about the Pdbg
mailing list