V4L/DVB (11391): pci-isa radios: remove open and release functions
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. Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
65d9ff9c85
commit
ff1a3ebb9c
@@ -339,20 +339,8 @@ static int vidioc_s_ctrl(struct file *file, void *priv,
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
static int maxiradio_open(struct file *file)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int maxiradio_release(struct file *file)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static const struct v4l2_file_operations maxiradio_fops = {
|
||||
.owner = THIS_MODULE,
|
||||
.open = maxiradio_open,
|
||||
.release = maxiradio_release,
|
||||
.ioctl = video_ioctl2,
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user