summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2024-01-12 09:56:25 +0300
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2024-01-24 12:34:45 +0200
commit890a48ca7b05406c538505a92148de7ab0d50591 (patch)
tree8320d69be3b16dc2199cf4b084e6785d4d5dab49 /scripts/gdb/linux/utils.py
parent214509e5d61d294193b220f397418e76879f74c0 (diff)
platform/x86: silicom-platform: clean up a check
The error message in this code can't be reached because value is either zero or non-zero. There isn't a third option. Really, it's nicer to write this as a one liner. Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/r/a58bffb7-0a8b-4195-b273-f65a188ace7b@moroto.mountain Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions