V4L/DVB (12122): pvrusb2: De-obfuscate code which handles routing schemes
authorMike Isely <isely@pobox.com>
Sat, 20 Jun 2009 17:57:24 +0000 (14:57 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 23 Jun 2009 06:15:17 +0000 (03:15 -0300)
commit90135c96869fa0ef3182282b2a661b57fcdb7230
tree807741895a1206e29eb0a4909790820caacd13e1
parent81e804c9c2e38431c1c01165d06076776c6fcbd6
V4L/DVB (12122): pvrusb2: De-obfuscate code which handles routing schemes

This change does not change any outward behavior; it merely chops down
some large if-conditions with embedded assignments into something a
little more maintainable for others (I of course never had a problem
with this...).

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/pvrusb2/pvrusb2-cs53l32a.c
drivers/media/video/pvrusb2/pvrusb2-cx2584x-v4l.c
drivers/media/video/pvrusb2/pvrusb2-video-v4l.c