]> bbs.cooldavid.org Git - net-next-2.6.git/commit
V4L/DVB (13556a): v4l: Remove unneeded video_device::minor assignments
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 10 Dec 2009 13:55:34 +0000 (11:55 -0200)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 May 2010 03:43:44 +0000 (00:43 -0300)
commit833724afc0e60fe94da64beb9e1afd390a9948a4
tree7e64132439451f98fa4e6420f78b601e50cb953a
parent0a34df5359ea153bf6f756c0c9db2ca2bc002cf4
V4L/DVB (13556a): v4l: Remove unneeded video_device::minor assignments

Now that the video_device registration is tested using
video_is_registered(), drivers don't need to initialize the
video_device::minor field to -1 anymore.

Remove those unneeded assignments.

[mchehab.redhat.com: apply just the tm6000 changes on a separate patch]

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/tm6000/tm6000-video.c