summaryrefslogtreecommitdiffstats
path: root/sound/oss/msnd.c
diff options
context:
space:
mode:
authorChris Sanford <crsanford@gmail.com>2009-05-27 17:23:50 +0200
committerJiri Kosina <jkosina@suse.cz>2009-06-12 18:01:48 +0200
commit1944df6bff414c769b55b00cb0547b6f285884a1 (patch)
treea0198e881024398706320f3fa189e29236b45e58 /sound/oss/msnd.c
parent492d0f95e6927d60be6234c4b0dd500216e87e18 (diff)
downloadop-kernel-dev-1944df6bff414c769b55b00cb0547b6f285884a1.zip
op-kernel-dev-1944df6bff414c769b55b00cb0547b6f285884a1.tar.gz
trivial: unnecessary (void*) cast removal in sound/oss/msnd.c
This is a trivial patch that removes an unnecessary void pointer cast. Signed-off-by: Chris Sanford <crsanford@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'sound/oss/msnd.c')
-rw-r--r--sound/oss/msnd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/oss/msnd.c b/sound/oss/msnd.c
index e4282d9..21eb6dc 100644
--- a/sound/oss/msnd.c
+++ b/sound/oss/msnd.c
@@ -100,7 +100,7 @@ void msnd_fifo_free(msnd_fifo *f)
int msnd_fifo_alloc(msnd_fifo *f, size_t n)
{
msnd_fifo_free(f);
- f->data = (char *)vmalloc(n);
+ f->data = vmalloc(n);
f->n = n;
f->tail = 0;
f->head = 0;
OpenPOWER on IntegriCloud