diff options
| author | Miquel Raynal <[email protected]> | 2022-02-07 15:38:32 +0100 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2022-04-10 16:15:02 +0100 |
| commit | 05a32f1aeb05c41dd33d95c060ee5d1b81f70e55 (patch) | |
| tree | 9844cba6d2e8095ac63a6271cf4066c30aca49ec /tools/perf/scripts/python/flamegraph.py | |
| parent | 69c9887997729cc989849e6cba17fb11093ade1d (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/flamegraph.py')
0 files changed, 0 insertions, 0 deletions