diff options
author | Chris Sanford <crsanford@gmail.com> | 2009-05-27 17:23:50 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-06-12 18:01:48 +0200 |
commit | 1944df6bff414c769b55b00cb0547b6f285884a1 (patch) | |
tree | a0198e881024398706320f3fa189e29236b45e58 /sound | |
parent | 492d0f95e6927d60be6234c4b0dd500216e87e18 (diff) | |
download | linux-stable-1944df6bff414c769b55b00cb0547b6f285884a1.tar.gz linux-stable-1944df6bff414c769b55b00cb0547b6f285884a1.tar.bz2 linux-stable-1944df6bff414c769b55b00cb0547b6f285884a1.zip |
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.c | 2 |
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; |