git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vserver 1.9.3
[linux-2.6.git]
/
sound
/
core
/
ioctl32
/
ioctl32.c
diff --git
a/sound/core/ioctl32/ioctl32.c
b/sound/core/ioctl32/ioctl32.c
index
5c0d30c
..
dad9cb1
100644
(file)
--- a/
sound/core/ioctl32/ioctl32.c
+++ b/
sound/core/ioctl32/ioctl32.c
@@
-257,7
+257,7
@@
static int get_ctl_type(struct file *file, snd_ctl_elem_id_t *id)
snd_ctl_elem_info_t info;
int err;
- ctl =
snd_magic_cast(snd_ctl_file_t, file->private_data, return -ENXIO)
;
+ ctl =
file->private_data
;
down_read(&ctl->card->controls_rwsem);
kctl = snd_ctl_find_id(ctl->card, id);