V4L/DVB (12541): v4l: remove video_register_device_index
authorHans Verkuil <hverkuil@xs4all.nl>
Fri, 19 Jun 2009 14:32:56 +0000 (11:32 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 19 Sep 2009 03:19:26 +0000 (00:19 -0300)
commit7ae0cd9bc793e16d8d68df3c17c601732cc1d3c7
tree6e95700b260955b91793bbc58a7d20c486e5d358
parent53dacb15705901e14b03dcba27e40364fedd9d09
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>
Documentation/video4linux/v4l2-framework.txt
drivers/media/video/v4l2-dev.c
include/media/v4l2-dev.h