mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
492d0f95e6
commit
1944df6bff
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue