crypto: omap-sham - removed redundunt locking
authorDmitry Kasatkin <dmitry.kasatkin@nokia.com>
Fri, 19 Nov 2010 14:04:25 +0000 (16:04 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 27 Nov 2010 08:37:17 +0000 (16:37 +0800)
commita5d87237bb15eed8449e5a30c0bbe626e0e7f43d
treeefa77f435272006e9ae802cf2c8d13a58997138a
parent3e133c8bf6a6723377d94bc97aa52596e49a4090
crypto: omap-sham - removed redundunt locking

Locking for queuing and dequeuing is combined.
test_and_set_bit() is also replaced with checking under dd->lock.

Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@nokia.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/omap-sham.c