md/bitmap: daemon_work cleanup.
authorNeilBrown <neilb@suse.de>
Thu, 22 Dec 2011 23:17:50 +0000 (10:17 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 22 Dec 2011 23:17:50 +0000 (10:17 +1100)
commit2e61ebbcc45438899235d7a39f17291cb24e746c
tree9d12a2a641c9980fb08f704449631d8012db0686
parent506c9e44a85f6a79fc0643f2d2498ab6cda3d3f8
md/bitmap: daemon_work cleanup.

We have a variable 'mddev' in this function, but repeatedly get the
same value by dereferencing bitmap->mddev.
There is room for simplification here...

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