Thread (2 messages) 2 messages, 2 authors, 2010-01-29

Re: [PATCH] drivers/md: remove unnecessary casts of void *

From: Neil Brown <hidden>
Date: 2010-01-29 06:19:58
Also in: dm-devel, lkml

On Fri, 8 Jan 2010 15:42:35 -0700
H Hartley Sweeten [off-list ref] 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 <redacted>
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(-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help