dm io:ctl remove vmalloc void cast
authorJesper Juhl <jesper.juhl@gmail.com>
Fri, 19 Oct 2007 21:38:54 +0000 (22:38 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Sat, 20 Oct 2007 01:01:10 +0000 (02:01 +0100)
commitbb56acf840600421e68f49bb037d1c659fcb37f8
treef95ff0498bff166b86b9d3684223504d3976c7ca
parent9e4e5f87ebcadb7ad9aca640bbe1038e1545e9f8
dm io:ctl remove vmalloc void cast

In drivers/md/dm-ioctl.c::copy_params() there's a call to vmalloc()
where we currently cast the return value, but that's pretty pointless
given that vmalloc() returns "void *".

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-ioctl.c