projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] getting rid of all casts of k[cmz]alloc() calls
[linux-2.6-block.git]
/
sound
/
core
/
oss
/
mixer_oss.c
diff --git
a/sound/core/oss/mixer_oss.c
b/sound/core/oss/mixer_oss.c
index f4c67042e3ac16ba72bb6effe6a2e93550fc7bf5..3391f2a9b4d167150114deec246ce3cc7082978e 100644
(file)
--- a/
sound/core/oss/mixer_oss.c
+++ b/
sound/core/oss/mixer_oss.c
@@
-1023,7
+1023,7
@@
static int snd_mixer_oss_build_input(struct snd_mixer_oss *mixer, struct snd_mix
}
up_read(&mixer->card->controls_rwsem);
if (slot.present != 0) {
- pslot =
(struct slot *)
kmalloc(sizeof(slot), GFP_KERNEL);
+ pslot = kmalloc(sizeof(slot), GFP_KERNEL);
if (! pslot)
return -ENOMEM;
*pslot = slot;