projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
492d0f9
)
trivial: unnecessary (void*) cast removal in sound/oss/msnd.c
author
Chris Sanford
<crsanford@gmail.com>
Wed, 27 May 2009 15:23:50 +0000
(17:23 +0200)
committer
Jiri 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
patch
|
blob
|
history
diff --git
a/sound/oss/msnd.c
b/sound/oss/msnd.c
index
e4282d9
..
21eb6dc
100644
(file)
--- 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;