summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2016-03-22 21:10:51 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-28 17:30:36 +0300
commit80c67b37fc27a3fc0542916798242e4af8148f28 (patch)
tree755c0afe88dec40650dab9e4f675ecc40190f9ae /tools/perf/scripts/python
parent4f2c3b2077a9bb34c7b5afe31633a1f5b1ca80b4 (diff)
downloadlinux-80c67b37fc27a3fc0542916798242e4af8148f28.tar.xz
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 <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions