diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2009-06-19 11:32:56 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-19 00:19:26 -0300 |
commit | 7ae0cd9bc793e16d8d68df3c17c601732cc1d3c7 (patch) | |
tree | 6e95700b260955b91793bbc58a7d20c486e5d358 /include | |
parent | 53dacb15705901e14b03dcba27e40364fedd9d09 (diff) | |
download | op-kernel-dev-7ae0cd9bc793e16d8d68df3c17c601732cc1d3c7.zip op-kernel-dev-7ae0cd9bc793e16d8d68df3c17c601732cc1d3c7.tar.gz |
V4L/DVB (12541): v4l: remove video_register_device_index
video_register_device_index is never actually called, instead the
stream index number is always calculated automatically.
This patch removes this function and simplifies the internal get_index
function since that can now always just return the first free index.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/media/v4l2-dev.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/media/v4l2-dev.h b/include/media/v4l2-dev.h index 2058dd4..255f644 100644 --- a/include/media/v4l2-dev.h +++ b/include/media/v4l2-dev.h @@ -100,8 +100,6 @@ struct video_device Also note that vdev->minor is set to -1 if the registration failed. */ int __must_check video_register_device(struct video_device *vdev, int type, int nr); -int __must_check video_register_device_index(struct video_device *vdev, - int type, int nr, int index); /* Unregister video devices. Will do nothing if vdev == NULL or vdev->minor < 0. */ |