]> err.no Git - linux-2.6/commitdiff
[PATCH] cryptocop: double spin_lock_irqsave()
authorAlexey Dobriyan <adobriyan@gmail.com>
Mon, 30 Oct 2006 06:46:39 +0000 (22:46 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 30 Oct 2006 20:08:41 +0000 (12:08 -0800)
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>
arch/cris/arch-v32/drivers/cryptocop.c

index ba096ebb0b157b4d92a425ca5a983c2612d3ac9c..2449637e6fc0ab1bad494dbec05de816f2c12d74 100644 (file)
@@ -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)) {