aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBrian Masney <[email protected]>2018-03-21 06:29:02 -0400
committerJonathan Cameron <[email protected]>2018-03-24 13:31:40 +0000
commitc7bd25e8e23c934d8ad420ea93a508edf1588905 (patch)
tree91b680b6702e70f236e5d141b42c6003fd08b805 /tools/perf/scripts/python
parent8ea0fa7cd425448e24da38dfe4ea78d3aa69b48c (diff)
staging: iio: tsl2x7x: remove unnecessary code
As a follow up to the work in commit a0722d05a195 ("staging: iio: tsl2x7x: convert mutex_trylock() to mutex_lock()"), this patch removes the unnecessary calls to tsl2x7x_get_prox() and tsl2x7x_get_lux() in tsl2x7x_event_handler(). Previously, these functions were locked with mutex_trylock(), but that is no longer the case. This patch also removes a comment that is no longer relevant about returning the last sample. Signed-off-by: Brian Masney <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions