Skip to content

Commit

Permalink
trivial: unnecessary (void*) cast removal in sound/oss/msnd.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Chris Sanford authored and Jiri Kosina committed Jun 12, 2009
1 parent 492d0f9 commit 1944df6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/oss/msnd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1944df6

Please sign in to comment.