summaryrefslogtreecommitdiff
path: root/sound
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
parent492d0f95e6927d60be6234c4b0dd500216e87e18 (diff)
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')
-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 e4282d93a1aa..21eb6dce46df 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;