]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitae194aa6cd7a66e8da43c937fd521892c6b9066d
tree71fd99b4763096d5e4b638928bf356be1f482127
parentb338339b96882fac555cd6230ee8997580b9aeae
[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