From dfbfa05210f4734990fd82e832759dc6e6ab038a Mon Sep 17 00:00:00 2001 From: "Michael S. Hansen" Date: Wed, 15 Feb 2017 21:47:41 -0500 Subject: [PATCH] staging: vt6656: rxtx.c Removed multiple dereferencing Fixes checkpatch warning: Avoid multiple line dereference Signed-off-by: Michael S. Hansen Signed-off-by: Greg Kroah-Hartman --- drivers/staging/vt6656/rxtx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/vt6656/rxtx.c b/drivers/staging/vt6656/rxtx.c index 02820894ff27..1835cd13ef49 100644 --- a/drivers/staging/vt6656/rxtx.c +++ b/drivers/staging/vt6656/rxtx.c @@ -692,8 +692,8 @@ static u16 vnt_generate_tx_parameter(struct vnt_usb_send_context *tx_context, tx_context->pkt_type == PK_TYPE_11GA) { if (need_rts) { if (need_mic) - *mic_hdr = &tx_buffer-> - tx_head.tx_rts.tx.mic.hdr; + *mic_hdr = + &tx_buffer->tx_head.tx_rts.tx.mic.hdr; return vnt_rxtx_rts(tx_context, &tx_buffer->tx_head, need_mic); -- 2.20.1