diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2025-04-16 12:55:16 +0300 |
|---|---|---|
| committer | Bartosz Golaszewski <brgl@bgdev.pl> | 2025-04-17 15:22:06 +0200 |
| commit | 550300b9a295a591e0721a31f8c964a4bc08d51c (patch) | |
| tree | 4fc08866a56219467020d38fb50552aff72d234d /tools/perf/scripts/python | |
| parent | gpiolib: Reuse return variable in gpiod_to_irq() (diff) | |
| download | linux-550300b9a295a591e0721a31f8c964a4bc08d51c.tar.gz linux-550300b9a295a591e0721a31f8c964a4bc08d51c.zip | |
gpiolib: Remove redundant assignment of return variable
In some functions the returned variable is assigned to 0 and then
reassigned to the actual value. Remove redundant assignments.
In one case make it more clear that the assignment is not needed.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20250416095645.2027695-9-andriy.shevchenko@linux.intel.com
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
