diff options
| author | Markus Elfring <elfring@users.sourceforge.net> | 2025-10-20 16:52:35 +0200 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2025-11-05 10:50:08 +0200 |
| commit | df92fad9354605e0797c8b4fa791090889541202 (patch) | |
| tree | 55333b5434646940f9848a0cbfc12e3e92ea79ab /tools/lib/python | |
| parent | 1eae7d43ec375619d0452c892489ddca113b4567 (diff) | |
platform/x86: x86-android-tablets: Omit a variable reassignment in lenovo_yoga_tab2_830_1050_init_codec()
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/90a2385c-9d19-46f2-8d31-618d5c10aa91@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
