aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/smartconnect.c
diff options
context:
space:
mode:
authorArmin Wolf <[email protected]>2024-05-28 20:49:03 +0000
committerHans de Goede <[email protected]>2024-06-03 09:54:29 +0000
commit306aec7eea8c83e8212f4dd6e5b358c508e3e466 (patch)
treeaa141f29b6b7f67b504957fbcd40cd950ec6b025 /drivers/platform/x86/intel/smartconnect.c
parentplatform/x86: dell-smbios: Fix wrong token data in sysfs (diff)
downloadkernel-306aec7eea8c83e8212f4dd6e5b358c508e3e466.tar.gz
kernel-306aec7eea8c83e8212f4dd6e5b358c508e3e466.zip
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 <[email protected]> Reviewed-by: Ilpo Järvinen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/smartconnect.c')
0 files changed, 0 insertions, 0 deletions