diff options
| author | 2012-03-19 12:46:40 +1100 | |
|---|---|---|
| committer | 2012-03-19 12:46:40 +1100 | |
| commit | 5a6c824ebb7c9f8dbbc92ffd3528e6366cad1a54 (patch) | |
| tree | e78d8527ae9e7be05001ed12f1cad01f8719bde0 /kernel/workqueue.c | |
| parent | md/bitmap: change a 'goto' to a normal 'if' construct. (diff) | |
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 'kernel/workqueue.c')
0 files changed, 0 insertions, 0 deletions
