aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorAmitoj Kaur Chawla <[email protected]>2016-02-25 11:07:28 +0530
committerGreg Kroah-Hartman <[email protected]>2016-03-11 22:09:09 -0800
commit71e03f10384c16887d5dd32c6b1e7006b09ec592 (patch)
treef487d256a3566a5d31ed6d588a618118da3d787d /tools/perf/scripts/python/check-perf-trace.py
parent3589d3c9e39889fcac8fa0cb9f5bb3006d7d0d51 (diff)
staging: fbtft: Remove unnecessary spi_set_drvdata()
Unnecessary spi_set_drvdata() has been removed since the driver core clears the driver data to NULL after device release or on probe failure. There is no need to manually clear the device driver data to NULL. The Coccinelle semantic patch used to make this change is as follows: @@ struct spi_device *spi; @@ - spi_set_drvdata(spi, NULL); // </smpl> Due to this removal, variable `spi` was unused so dropped `spi` Signed-off-by: Amitoj Kaur Chawla <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions