diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2022-06-21 08:35:24 +0200 |
---|---|---|
committer | Bartosz Golaszewski <brgl@bgdev.pl> | 2022-07-19 09:56:51 +0200 |
commit | 1923433cd660fda6315b8eb1bb8372cf7e85acf7 (patch) | |
tree | 4947b2641450d6bd13851a00864c6e23674f3291 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 7e55b33d3f18fde5c7a57b6c52d80499485c737f (diff) |
gpio: brcmstb: Make .remove() obviously always return 0
priv cannot be NULL because brcmstb_gpio_probe() calls
platform_set_drvdata() with a non-NULL argument, so the check for !priv can
be dropped.
Also remove the variable ret that is only used to hide a bit that in the
end zero is returned.
This is a preparation for making platform remove callbacks return void.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions