aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dma-debug.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2012-03-19 12:46:40 +1100
committerNeilBrown <neilb@suse.de>2012-03-19 12:46:40 +1100
commit5a6c824ebb7c9f8dbbc92ffd3528e6366cad1a54 (patch)
treee78d8527ae9e7be05001ed12f1cad01f8719bde0 /lib/dma-debug.c
parentmd/bitmap: change a 'goto' to a normal 'if' construct. (diff)
downloadlinux-rng-5a6c824ebb7c9f8dbbc92ffd3528e6366cad1a54.tar.xz
linux-rng-5a6c824ebb7c9f8dbbc92ffd3528e6366cad1a54.zip
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>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions