aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2021-10-12 17:39:44 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-10-13 14:30:38 +0200
commitcb08d3d2a3e4d20808f417081e68fa721463252b (patch)
tree1e96aab801a247ceda894c3e8363ae232e783436 /tools/perf/scripts/python/netdev-times.py
parentstaging: r8188eu: Use zeroing allocator in wpa_set_encryption() (diff)
downloadlinux-cb08d3d2a3e4d20808f417081e68fa721463252b.tar.gz
linux-cb08d3d2a3e4d20808f417081e68fa721463252b.zip
staging: fbtft: Make fbtft_remove_common() return void
fbtft_remove_common() is only called with a non-NULL fb_info. (All callers are in remove callbacks and the matching probe callbacks set driver data accordingly.) So fbtft_remove_common() always returns zero. Make it return void instead which makes it easier to see in the callers that there is no error to handle. Also the return value of platform and spi remove callbacks is ignored anyway and not freeing resources in .remove() is a bad idea. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20211012153945.2651412-20-u.kleine-koenig@pengutronix.de Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions