[SCSI] Retry commands with UNIT_ATTENTION sense codes to fix ext3/ext4 I/O error
[safe/jmp/linux-2.6] / drivers / media / radio / radio-gemtek.c
index 91448c4..73985f6 100644 (file)
@@ -24,7 +24,6 @@
 #include <linux/version.h>     /* for KERNEL_VERSION MACRO     */
 #include <linux/mutex.h>
 #include <linux/io.h>          /* outb, outb_p                 */
-#include <linux/uaccess.h>     /* copy to/from user            */
 #include <media/v4l2-ioctl.h>
 #include <media/v4l2-device.h>
 
@@ -376,20 +375,9 @@ static int gemtek_probe(struct gemtek *gt)
 /*
  * Video 4 Linux stuff.
  */
-static int gemtek_open(struct file *file)
-{
-       return 0;
-}
-
-static int gemtek_release(struct file *file)
-{
-       return 0;
-}
 
 static const struct v4l2_file_operations gemtek_fops = {
        .owner          = THIS_MODULE,
-       .open           = gemtek_open,
-       .release        = gemtek_release,
        .ioctl          = video_ioctl2,
 };