staging: vt6656: rxtx.c s:_uGetDataDuration simplify structure.
authorMalcolm Priestley <tvboxspy@gmail.com>
Tue, 13 Aug 2013 18:59:31 +0000 (19:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Aug 2013 21:42:59 +0000 (14:42 -0700)
A value is only returned when bNeedAck is true.

Only when byDurType == DATADUR_B is different.

Remove switch statement and simplify with if structure.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

No differences found