[media] dvb-net: split the logic at dvb_net_ule() into other functions
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Sat, 19 Nov 2016 14:56:59 +0000 (12:56 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 25 Nov 2016 08:45:14 +0000 (06:45 -0200)
commit8b0041db80ddea91d9be509f0a7817dd09fbdd1d
tree71fd99b4763096d5e4b638928bf356be1f482127
parentefb9ab67255fc2333293827f8c45d2f51647faf9
[media] dvb-net: split the logic at dvb_net_ule() into other functions

This function is too big and too complex, making really hard
to understand what's there.

Split it into sub-routines, in order to make it easier to be
understood, and to allow gcc to better parse it.

As a bonus, it gets rid of a goto in the middle of a routine.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/dvb-core/dvb_net.c