[PATCH] mac_esp: remove redundant mutual exclusion

2011-09-11 Thread Finn Thain
Mutual exclusion is redundant here because all the paths in the call graph leading to esp_driver_ops.send_dma_cmd() happen under spin_lock_irqsave/ spin_lock_irqrestore. Remove it. Tested on a Mac Quadra 660av and a Mac LC 630. Signed-off-by: Finn Thain fth...@telegraphics.com.au --- Part

[PATCH] mac_esp: remove redundant mutual exclusion

2011-09-10 Thread Finn Thain
Mutual exclusion is redundant here because all the paths in the call graph leading to esp_driver_ops.send_dma_cmd() happen under spin_lock_irqsave/ spin_lock_irqrestore. Remove it. Tested on a Mac Quadra 660av and a Mac LC 630. Signed-off-by: Finn Thain fth...@telegraphics.com.au --- Part of

Re: [PATCH] mac_esp: remove redundant mutual exclusion

2011-09-10 Thread David Miller
From: Finn Thain fth...@telegraphics.com.au Date: Sun, 11 Sep 2011 01:01:34 +1000 (EST) Mutual exclusion is redundant here because all the paths in the call graph leading to esp_driver_ops.send_dma_cmd() happen under spin_lock_irqsave/ spin_lock_irqrestore. Remove it. Tested on a Mac