commit | c0de17e468a4a0469b6bba31a515c02b90b75edc | [log] [tgz] |
---|---|---|
author | Malcolm Priestley <tvboxspy@gmail.com> | Mon Aug 05 21:09:14 2013 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Aug 12 15:01:32 2013 -0700 |
tree | a70df6d73be58cff44d3ee451af6cb1481cd9173 | |
parent | a66698110b7a286d57df023eaa6c0e50503c4d7b [diff] |
staging: vt6656: rxtx.c: s_vGetFreeContext use single tx memset. 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>