md/bitmap: remove some pointless locking.
authorNeilBrown <neilb@suse.de>
Mon, 19 Mar 2012 01:46:40 +0000 (12:46 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 19 Mar 2012 01:46:40 +0000 (12:46 +1100)
commit5a6c824ebb7c9f8dbbc92ffd3528e6366cad1a54
treee78d8527ae9e7be05001ed12f1cad01f8719bde0
parent278c1ca2f254d0695d2eba79793d20ce785323ea
md/bitmap: remove some pointless locking.

There is nothing gained by holding a lock while we check if a pointer
is NULL or not.  If there could be a race, then it could become NULL
immediately after the unlock - but there is no race here.

So just remove the locking.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/bitmap.c