diff options
author | Armin Wolf <W_Armin@gmx.de> | 2024-05-28 23:49:03 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2024-06-03 12:54:29 +0300 |
commit | 306aec7eea8c83e8212f4dd6e5b358c508e3e466 (patch) | |
tree | aa141f29b6b7f67b504957fbcd40cd950ec6b025 /scripts/gdb/linux/mm.py | |
parent | 1981b296f858010eae409548fd297659b2cc570e (diff) | |
download | linux-306aec7eea8c83e8212f4dd6e5b358c508e3e466.tar.xz |
platform/x86: dell-smbios: Simplify error handling
When the allocation of value_name fails, the error handling code
uses two gotos for error handling, which is not necessary.
Simplify the error handling in this case by only using a single goto.
Tested on a Dell Inspiron 3505.
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20240528204903.445546-2-W_Armin@gmx.de
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/mm.py')
0 files changed, 0 insertions, 0 deletions