Commit dfbfa052 authored by Michael S. Hansen's avatar Michael S. Hansen Committed by Greg Kroah-Hartman

staging: vt6656: rxtx.c Removed multiple dereferencing

Fixes checkpatch warning: Avoid multiple line dereference
Signed-off-by: default avatarMichael S. Hansen <michael.schacht.hansen@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 42aa03dc
...@@ -692,8 +692,8 @@ static u16 vnt_generate_tx_parameter(struct vnt_usb_send_context *tx_context, ...@@ -692,8 +692,8 @@ static u16 vnt_generate_tx_parameter(struct vnt_usb_send_context *tx_context,
tx_context->pkt_type == PK_TYPE_11GA) { tx_context->pkt_type == PK_TYPE_11GA) {
if (need_rts) { if (need_rts) {
if (need_mic) if (need_mic)
*mic_hdr = &tx_buffer-> *mic_hdr =
tx_head.tx_rts.tx.mic.hdr; &tx_buffer->tx_head.tx_rts.tx.mic.hdr;
return vnt_rxtx_rts(tx_context, &tx_buffer->tx_head, return vnt_rxtx_rts(tx_context, &tx_buffer->tx_head,
need_mic); need_mic);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment