[dm-devel] [PATCH] drivers/md: remove unnecessary casts of void *
Neil Brown
neilb at suse.de
Fri Jan 29 06:19:48 UTC 2010
On Fri, 8 Jan 2010 15:42:35 -0700
H Hartley Sweeten <hartleys at visionengravers.com> wrote:
> drivers/md: Remove unnecessary casts of void *
>
> void pointers do not need to be cast to other pointer types.
>
> Signed-off-by: H Hartley Sweeten <hsweeten at visionengravers.com>
> Cc: Neil Brown <neilb at suse.de>
>
Thanks.
I have taken the non-dm parts of this into my (md) tree.
I'll leave the dm bits for the dm developers.
NeilBrown
> ---
>
> drivers/md/bitmap.c | 8 ++++----
> drivers/md/dm-crypt.c | 4 ++--
> drivers/md/dm-io.c | 8 ++++----
> drivers/md/dm-kcopyd.c | 4 ++--
> drivers/md/dm-linear.c | 6 +++---
> drivers/md/dm-log.c | 24 ++++++++++++------------
> drivers/md/dm-mpath.c | 12 ++++++------
> drivers/md/dm-raid1.c | 10 +++++-----
> drivers/md/dm-round-robin.c | 10 +++++-----
> drivers/md/dm-stripe.c | 6 +++---
> drivers/md/dm.c | 2 +-
> drivers/md/faulty.c | 6 +++---
> drivers/md/multipath.c | 2 +-
> drivers/md/raid1.c | 8 ++++----
> drivers/md/raid10.c | 10 +++++-----
> drivers/md/raid5.c | 10 +++++-----
> 16 files changed, 65 insertions(+), 65 deletions(-)
More information about the dm-devel
mailing list