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:
a666981
)
staging: vt6656: rxtx.c: s_vGetFreeContext use single tx memset.
author
Malcolm Priestley
<tvboxspy@gmail.com>
Mon, 5 Aug 2013 20:09:14 +0000
(21:09 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 12 Aug 2013 22:01:32 +0000
(15:01 -0700)
memset to 0 structure _USB_SEND_CONTEXT pContext->Data to its
size of MAX_TOTAL_SIZE_WITH_ALL_HEADERS as defined
in device.h
This removes the need for memset in the TX path.
It also allows the removal of dead structure
TX_BUFFER_CONTAINER BufferHeader;
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found