git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0c516c
)
staging: vt6656: rxtx.c: s_uGetDataDuration remove First Frag or Mid Frag dead code.
author
Malcolm Priestley
<tvboxspy@gmail.com>
Wed, 7 Aug 2013 20:26:12 +0000
(21:26 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 12 Aug 2013 22:26:51 +0000
(15:26 -0700)
The driver always calls s_uGetDataDuration with;
uFragIdx = 0, cbLastFragmentSize = 0 and uMACfragNum = 1
uFragIdx == (uMACfragNum-1) is always true and bLastFrag = 1.
Remove dead First Frag or Mid Frag if/else and variables.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found