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>
Showing
- drivers/md/linear.c 6 additions, 6 deletionsdrivers/md/linear.c
- drivers/md/linear.h 0 additions, 2 deletionsdrivers/md/linear.h
- drivers/md/multipath.c 10 additions, 10 deletionsdrivers/md/multipath.c
- drivers/md/multipath.h 0 additions, 6 deletionsdrivers/md/multipath.h
- drivers/md/raid0.c 5 additions, 5 deletionsdrivers/md/raid0.c
- drivers/md/raid0.h 0 additions, 2 deletionsdrivers/md/raid0.h
- drivers/md/raid1.c 19 additions, 19 deletionsdrivers/md/raid1.c
- drivers/md/raid1.h 0 additions, 6 deletionsdrivers/md/raid1.h
- drivers/md/raid10.c 21 additions, 21 deletionsdrivers/md/raid10.c
- drivers/md/raid10.h 0 additions, 6 deletionsdrivers/md/raid10.h
- drivers/md/raid5.c 18 additions, 18 deletionsdrivers/md/raid5.c
- drivers/md/raid5.h 0 additions, 2 deletionsdrivers/md/raid5.h
Please register or sign in to comment