trivial: unnecessary (void*) cast removal in sound/oss/msnd.c
authorChris Sanford <crsanford@gmail.com>
Wed, 27 May 2009 15:23:50 +0000 (17:23 +0200)
committerJiri Kosina <jkosina@suse.cz>
Fri, 12 Jun 2009 16:01:48 +0000 (18:01 +0200)
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>
sound/oss/msnd.c

index e4282d9..21eb6dc 100644 (file)
@@ -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;