From 1944df6bff414c769b55b00cb0547b6f285884a1 Mon Sep 17 00:00:00 2001 From: Chris Sanford Date: Wed, 27 May 2009 17:23:50 +0200 Subject: 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 Signed-off-by: Jiri Kosina --- sound/oss/msnd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sound/oss') 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; -- cgit v1.2.3