]> git.baikalelectronics.ru Git - kernel.git/commit
[media] vivi: remove pointless video_nr++
authorHans Verkuil <hverkuil@xs4all.nl>
Thu, 19 Jul 2012 19:45:49 +0000 (16:45 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Jul 2012 23:31:56 +0000 (20:31 -0300)
commit303786147961919e4f6df789371ce0f74bb89498
treed424506d84809323749f191c169c1be8aba8dfdd
parentd502546d4da6e089318227101727b1533e34979a
[media] vivi: remove pointless video_nr++

Remove the pointless video_nr++. It doesn't do anything useful and it has
the unexpected side-effect of changing the video_nr module option, so
cat /sys/module/vivi/parameters/video_nr gives a different value back
then what was specified with modprobe.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/vivi.c