aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMiquel Raynal <[email protected]>2022-02-07 15:38:32 +0100
committerJonathan Cameron <[email protected]>2022-04-10 16:15:02 +0100
commit05a32f1aeb05c41dd33d95c060ee5d1b81f70e55 (patch)
tree9844cba6d2e8095ac63a6271cf4066c30aca49ec /tools/perf/scripts/python
parent69c9887997729cc989849e6cba17fb11093ade1d (diff)
iio: st_sensors: Drop the protection on _avail functions
The use of a lock there seems pointless. Besides preventing to read these information from userspace while buffers are enabled (which is not supposed to happen), it only protect read accesses over static const values, which are never supposed to be written anyway. Drop these lock calls. Suggested-by: Jonathan Cameron <[email protected]> Cc: Denis Ciocca <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions