summaryrefslogtreecommitdiff
path: root/linux/drivers/media/radio/radio-typhoon.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-03-29 23:19:54 +0000
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-29 23:19:54 +0000
commitfd7aa03c43fa93b538f714c99c98f4d6976840b1 (patch)
tree4ca168cb3826212dba054b51be2a56f78bd65e26 /linux/drivers/media/radio/radio-typhoon.c
parented518b0f12ebcaed430a8d60da4ff0b09269bd10 (diff)
downloadmediapointer-dvb-s2-fd7aa03c43fa93b538f714c99c98f4d6976840b1.tar.gz
mediapointer-dvb-s2-fd7aa03c43fa93b538f714c99c98f4d6976840b1.tar.bz2
pci-isa radios: remove open and release functions
From: Alexey Klimov <klimov.linux@gmail.com> Patch removes empty open and release functions in pci and isa radio drivers, setting them to NULL. V4L module doesn't call for them due to previous patch. Priority: normal Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/radio/radio-typhoon.c')
-rw-r--r--linux/drivers/media/radio/radio-typhoon.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/linux/drivers/media/radio/radio-typhoon.c b/linux/drivers/media/radio/radio-typhoon.c
index 98e4ce142..23dece5e4 100644
--- a/linux/drivers/media/radio/radio-typhoon.c
+++ b/linux/drivers/media/radio/radio-typhoon.c
@@ -315,20 +315,8 @@ static int vidioc_log_status(struct file *file, void *priv)
return 0;
}
-static int typhoon_open(struct file *file)
-{
- return 0;
-}
-
-static int typhoon_release(struct file *file)
-{
- return 0;
-}
-
static const struct v4l2_file_operations typhoon_fops = {
.owner = THIS_MODULE,
- .open = typhoon_open,
- .release = typhoon_release,
.ioctl = video_ioctl2,
};