lkml.org 
[lkml]   [2010]   [Jan]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] drivers/md: remove unnecessary casts of void *
On Fri, 8 Jan 2010 15:42:35 -0700
H Hartley Sweeten <hartleys@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@visionengravers.com>
> Cc: Neil Brown <neilb@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(-)


\
 
 \ /
  Last update: 2010-01-29 07:23    [from the cache]
©2003-2011 Jasper Spaans