aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2021-10-12 17:39:32 +0200
committerMauro Carvalho Chehab <[email protected]>2021-12-07 11:29:57 +0100
commit61b738e938ef091e0c4c4e8eadeaf27502732e97 (patch)
treee5a7119a16dc485badb30afe70926c310fcdfee8 /tools/perf/scripts/python/event_analyzing_sample.py
parent48f45c2a969b5a012fda468350706c3a479f0707 (diff)
media: cxd2880: Eliminate dead code
An spi remove callback is never called with an spi_device pointer that is NULL. Also it is only called for devices that probed successfully. As cxd2880_spi_probe() always sets driver data, spi_get_drvdata() cannot be NULL. Also the return value of spi remove callbacks is ignored anyway and not freeing resources in .remove() is a bad idea. Link: https://lore.kernel.org/linux-media/[email protected] Cc: Mark Brown <[email protected]>, [email protected], [email protected], [email protected] Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions