From: Russell King Date: Sat, 26 May 2012 15:33:39 +0000 (+0100) Subject: dmaengine: PL08x: get rid of write only pool_ctr and free_txd locking X-Git-Tag: v3.6-rc1~13^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70f3ff434d7fc9a3cea5ebbb8a8d7aaa4c906125;p=pandora-kernel.git dmaengine: PL08x: get rid of write only pool_ctr and free_txd locking The free function says the pl08x lock should be taken before calling it. However, the DMA pool allocation/freeing is already properly locked. The only thing that would need this is pool_ctr, which happens to be a write-only variable. Let's get rid of this, and eliminate any need for additional locking here. Acked-by: Linus Walleij Tested-by: Linus Walleij Signed-off-by: Russell King --- Reading git-diff-tree failed