]> git.karo-electronics.de Git - linux-beck.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)
commit1a17a942cd0fe430540e9ead2e57eb358b6963bd
treed424506d84809323749f191c169c1be8aba8dfdd
parent6992c0807517b5736c80983c4881d3f9ae3ab20f
[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