md: remove mddev_to_conf "helper" macro
authorNeilBrown <neilb@suse.de>
Tue, 16 Jun 2009 06:54:21 +0000 (16:54 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 16 Jun 2009 06:54:21 +0000 (16:54 +1000)
commit070ec55d07157a3041f92654135c3c6e2eaaf901
tree10f24d859e669ba4a671204ce4176a2b43fdaae5
parenta6b3deafe0c50e3e873e8ed5cc8abfcb25c05eff
md: remove mddev_to_conf "helper" macro

Having a macro just to cast a void* isn't really helpful.
I would must rather see that we are simply de-referencing ->private,
than have to know what the macro does.

So open code the macro everywhere and remove the pointless cast.

Signed-off-by: NeilBrown <neilb@suse.de>
12 files changed:
drivers/md/linear.c
drivers/md/linear.h
drivers/md/multipath.c
drivers/md/multipath.h
drivers/md/raid0.c
drivers/md/raid0.h
drivers/md/raid1.c
drivers/md/raid1.h
drivers/md/raid10.c
drivers/md/raid10.h
drivers/md/raid5.c
drivers/md/raid5.h