diff options
| author | H Hartley Sweeten <[email protected]> | 2016-03-22 11:10:51 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-03-28 07:30:36 -0700 |
| commit | 80c67b37fc27a3fc0542916798242e4af8148f28 (patch) | |
| tree | 755c0afe88dec40650dab9e4f675ecc40190f9ae /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 4f2c3b2077a9bb34c7b5afe31633a1f5b1ca80b4 (diff) | |
staging: comedi: ni_660x: remove spinlock 'dma_cfg_lock'
This spinlock is only used to protect changes to the private data 'dma_cfg'.
Before calling any function that would change the 'dma_cfg' the spinlock
'mite_channel_lock' is also locked. That spinlock is not unlocked until
after the 'dma_cfg' change.
Remove the redundant spinlock.
Signed-off-by: H Hartley Sweeten <[email protected]>
Reviewed-by: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions