diff options
| author | 2016-03-22 11:10:51 -0700 | |
|---|---|---|
| committer | 2016-03-28 07:30:36 -0700 | |
| commit | 80c67b37fc27a3fc0542916798242e4af8148f28 (patch) | |
| tree | 755c0afe88dec40650dab9e4f675ecc40190f9ae /scripts/patch-kernel | |
| parent | staging: comedi: ni_660x: remove ni_gpct_to_660x_register[] (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 <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
