summaryrefslogtreecommitdiffstats
path: root/arch/cris/arch-v32/drivers/cryptocop.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2006-10-30 07:46:39 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-30 21:08:41 +0100
commitf8da1f746588ba997734274b4aadc5ae501fbd88 (patch)
treeeac5745a26370431f60f92ccf27b6d9bf861f90f /arch/cris/arch-v32/drivers/cryptocop.c
parent[PATCH] lockdep: annotate DECLARE_WAIT_QUEUE_HEAD (diff)
downloadlinux-f8da1f746588ba997734274b4aadc5ae501fbd88.tar.xz
linux-f8da1f746588ba997734274b4aadc5ae501fbd88.zip
[PATCH] cryptocop: double spin_lock_irqsave()
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Cc: Mikael Starvik <starvik@axis.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/cris/arch-v32/drivers/cryptocop.c')
-rw-r--r--arch/cris/arch-v32/drivers/cryptocop.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/cris/arch-v32/drivers/cryptocop.c b/arch/cris/arch-v32/drivers/cryptocop.c
index ba096ebb0b15..2449637e6fc0 100644
--- a/arch/cris/arch-v32/drivers/cryptocop.c
+++ b/arch/cris/arch-v32/drivers/cryptocop.c
@@ -2051,7 +2051,6 @@ static void cryptocop_job_queue_close(void)
spin_lock_irqsave(&cryptocop_process_lock, process_flags);
/* Empty the job queue. */
- spin_lock_irqsave(&cryptocop_process_lock, process_flags);
for (i = 0; i < cryptocop_prio_no_prios; i++){
if (!list_empty(&(cryptocop_job_queues[i].jobs))){
list_for_each_safe(node, tmp, &(cryptocop_job_queues[i].jobs)) {