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