summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2025-10-20 17:34:59 +0300
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2025-11-05 11:50:00 +0300
commit1eae7d43ec375619d0452c892489ddca113b4567 (patch)
tree425e3e5a72e06fb1f3e5b97ab45774d65d9beb21 /tools/lib/python
parent45cf02f298f33e1c582f77c08bf6d61daf163f27 (diff)
downloadlinux-1eae7d43ec375619d0452c892489ddca113b4567.tar.xz
platform/surface: aggregator: Omit a variable reassignment in ssam_serial_hub_probe()
An error code was assigned to a variable and checked accordingly. This value was passed to a dev_err_probe() call in an if branch. This function is documented in the way that the same value is returned. Thus delete a redundant variable reassignment. The source code was transformed by using the Coccinelle software. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Link: https://patch.msgid.link/b25c9842-7ebc-43f0-a411-8098359f81a6@web.de Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions