[PATCH] cryptocop: double spin_lock_irqsave()

From: Alexey Dobriyan
Date: Sat Oct 28 2006 - 11:32:29 EST


Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
---

arch/cris/arch-v32/drivers/cryptocop.c | 1 -
1 file changed, 1 deletion(-)

--- 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(vo
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)) {

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/