diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2019-10-23 13:02:23 -0700 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-11-05 23:18:10 +0100 |
commit | 75dd63c968d8e91707d74845ccb96bda3664cdaa (patch) | |
tree | 4a781a4f3a093af71fa11ef167449f6004104e2f /scripts/gdb/linux/proc.py | |
parent | b871160fbc61d8cd43440b3903d402e90e28e321 (diff) |
software node: clean up property_copy_string_array()
Because property_copy_string_array() stores the newly allocated pointer in the
destination property, we have an awkward code in property_entry_copy_data()
where we fetch the new pointer from dst.
Let's change property_copy_string_array() to return pointer and rely on the
common path in property_entry_copy_data() to store it in destination structure.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions