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)
commit89a47942f0facc4664d982005ac03d8dcb9635c1
tree56181e6b3e002f212ca676c2fdeb1c27059b9f4f
parent081c2fc8b9cdd13a2436e8510889293874a33340
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