summaryrefslogtreecommitdiff
path: root/linux/drivers/media/radio/radio-sf16fmi.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-sf16fmi.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-sf16fmi.c')
-rw-r--r--linux/drivers/media/radio/radio-sf16fmi.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/linux/drivers/media/radio/radio-sf16fmi.c b/linux/drivers/media/radio/radio-sf16fmi.c
index b517b3671..ae2b3e6a1 100644
--- a/linux/drivers/media/radio/radio-sf16fmi.c
+++ b/linux/drivers/media/radio/radio-sf16fmi.c
@@ -261,20 +261,8 @@ static int vidioc_s_audio(struct file *file, void *priv,
return a->index ? -EINVAL : 0;
}
-static int fmi_open(struct file *file)
-{
- return 0;
-}
-
-static int fmi_release(struct file *file)
-{
- return 0;
-}
-
static const struct v4l2_file_operations fmi_fops = {
.owner = THIS_MODULE,
- .open = fmi_open,
- .release = fmi_release,
.ioctl = video_ioctl2,
};