diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-06-12 12:17:26 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-06-13 10:48:49 -0400 |
commit | d3bd67cdbb5d12f30dfd1b627fd95bd6dcc7ff1e (patch) | |
tree | 3e701748a1f178799448030d88fd5fd7e7cf718d /include | |
parent | 149b154452b18dedd4559cdd65b965ae9011e425 (diff) |
ALSA: make snd_ctl_elem_read() and snd_ctl_elem_write() static
snd_ctl_elem_read() and snd_ctl_elem_write() are no longer used by
any other drivers.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'include')
-rw-r--r-- | include/sound/control.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/sound/control.h b/include/sound/control.h index 3dc1291f52db..4721b4bba053 100644 --- a/include/sound/control.h +++ b/include/sound/control.h | |||
@@ -129,9 +129,6 @@ int snd_ctl_unregister_ioctl_compat(snd_kctl_ioctl_func_t fcn); | |||
129 | #define snd_ctl_unregister_ioctl_compat(fcn) | 129 | #define snd_ctl_unregister_ioctl_compat(fcn) |
130 | #endif | 130 | #endif |
131 | 131 | ||
132 | int snd_ctl_elem_read(struct snd_card *card, struct snd_ctl_elem_value *control); | ||
133 | int snd_ctl_elem_write(struct snd_card *card, struct snd_ctl_file *file, struct snd_ctl_elem_value *control); | ||
134 | |||
135 | static inline unsigned int snd_ctl_get_ioffnum(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *id) | 132 | static inline unsigned int snd_ctl_get_ioffnum(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *id) |
136 | { | 133 | { |
137 | return id->numid - kctl->id.numid; | 134 | return id->numid - kctl->id.numid; |