diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-02-05 09:28:08 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-02-05 09:28:08 +0100 |
commit | 28b7e343ee63454d563a71d2d5f769fc297fd5ad (patch) | |
tree | 07911d0d442898ed5f6664fa1524e006b6c67114 /sound/pci/mixart | |
parent | e0d80648c0037b8b815317a52b782d4ea0c287f0 (diff) | |
download | kernel_samsung_smdk4412-28b7e343ee63454d563a71d2d5f769fc297fd5ad.zip kernel_samsung_smdk4412-28b7e343ee63454d563a71d2d5f769fc297fd5ad.tar.gz kernel_samsung_smdk4412-28b7e343ee63454d563a71d2d5f769fc297fd5ad.tar.bz2 |
ALSA: Remove superfluous hwdep ops
Remove NOP hwdep ops in sound drivers.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/mixart')
-rw-r--r-- | sound/pci/mixart/mixart_hwdep.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sound/pci/mixart/mixart_hwdep.c b/sound/pci/mixart/mixart_hwdep.c index 3782b52..fa4de98 100644 --- a/sound/pci/mixart/mixart_hwdep.c +++ b/sound/pci/mixart/mixart_hwdep.c @@ -581,16 +581,6 @@ MODULE_FIRMWARE("mixart/miXart8AES.xlx"); /* miXart hwdep interface id string */ #define SND_MIXART_HWDEP_ID "miXart Loader" -static int mixart_hwdep_open(struct snd_hwdep *hw, struct file *file) -{ - return 0; -} - -static int mixart_hwdep_release(struct snd_hwdep *hw, struct file *file) -{ - return 0; -} - static int mixart_hwdep_dsp_status(struct snd_hwdep *hw, struct snd_hwdep_dsp_status *info) { @@ -643,8 +633,6 @@ int snd_mixart_setup_firmware(struct mixart_mgr *mgr) hw->iface = SNDRV_HWDEP_IFACE_MIXART; hw->private_data = mgr; - hw->ops.open = mixart_hwdep_open; - hw->ops.release = mixart_hwdep_release; hw->ops.dsp_status = mixart_hwdep_dsp_status; hw->ops.dsp_load = mixart_hwdep_dsp_load; hw->exclusive = 1; |