]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - sound/pci/rme9652/hdsp.c
Merge branch 'topic/hwdep-cleanup' into for-linus
[net-next-2.6.git] / sound / pci / rme9652 / hdsp.c
index 05b3f795a1680167a3d09c3666fc3ea7c8272d82..bacfdd12619b2ced4cc0f5ead3596772d1b43a90 100644 (file)
@@ -4413,13 +4413,6 @@ static int snd_hdsp_capture_release(struct snd_pcm_substream *substream)
        return 0;
 }
 
-static int snd_hdsp_hwdep_dummy_op(struct snd_hwdep *hw, struct file *file)
-{
-       /* we have nothing to initialize but the call is required */
-       return 0;
-}
-
-
 /* helper functions for copying meter values */
 static inline int copy_u32_le(void __user *dest, void __iomem *src)
 {
@@ -4738,9 +4731,7 @@ static int snd_hdsp_create_hwdep(struct snd_card *card, struct hdsp *hdsp)
        hw->private_data = hdsp;
        strcpy(hw->name, "HDSP hwdep interface");
 
-       hw->ops.open = snd_hdsp_hwdep_dummy_op;
        hw->ops.ioctl = snd_hdsp_hwdep_ioctl;
-       hw->ops.release = snd_hdsp_hwdep_dummy_op;
                
        return 0;
 }