]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (6335): cx8802: Replace list_for_each+list_entry with list_for_each_entry
authorTrent Piepho <xyzzy@speakeasy.org>
Sun, 14 Oct 2007 05:52:17 +0000 (02:52 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 22 Oct 2007 14:01:43 +0000 (12:01 -0200)
commit4c181a814a9176a297edca51b2497f3f153ee282
tree56181e6b3e002f212ca676c2fdeb1c27059b9f4f
parent769d85bbd108caf439e66fb6d0f841905426f7ac
V4L/DVB (6335): cx8802: Replace list_for_each+list_entry with list_for_each_entry

Less code and more efficient.

Got ride of a variable that counted the number of devices in
cx8802_unregister_driver() but was never used.  Looked leftover from a
cut&paste.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Reviewed-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx88/cx88-mpeg.c