padata: Remove superfluous might_sleep
commit7d0d2d385ca7cc511f7d1c64735a1b4aaefd9a1b
authorSteffen Klassert <steffen.klassert@secunet.com>
Thu, 29 Apr 2010 12:40:53 +0000 (29 14:40 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 3 May 2010 03:32:11 +0000 (3 11:32 +0800)
treef25de7e27e7cf8f0aabf56462c6394ee950d21ee
parente2cb2f1c2ccf19914e941859c07558ba5f8a4610
padata: Remove superfluous might_sleep

might_sleep() was placed before mutex_lock() in some places.
We remove them because mutex_lock() does might_sleep() too.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
kernel/padata.c