From 5a12129d8e321fe9f84bae6f96afd0e2c7a2a86b Mon Sep 17 00:00:00 2001 From: Jeremy Fertic Date: Fri, 23 Feb 2018 17:55:52 -0700 Subject: [PATCH] staging: vt6655: remove unnecessary blank lines Remove unnecessary blank lines found using checkpatch.pl script. Signed-off-by: Jeremy Fertic Signed-off-by: Greg Kroah-Hartman --- drivers/staging/vt6655/rxtx.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c index 7a5c2a8..9c4a532 100644 --- a/drivers/staging/vt6655/rxtx.c +++ b/drivers/staging/vt6655/rxtx.c @@ -320,7 +320,6 @@ s_uGetDataDuration( uNextPktTime = s_uGetTxRsvTime(pDevice, byPktType, cbLastFragmentSize, wFB_Opt1[FB_RATE0][wRate-RATE_18M], bNeedAck); else uNextPktTime = s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wFB_Opt1[FB_RATE0][wRate-RATE_18M], bNeedAck); - } if (bNeedAck) { @@ -490,11 +489,9 @@ s_uFillDataHead( bool is_pspoll ) { - if (!pTxDataHead) return 0; - if (byPktType == PK_TYPE_11GB || byPktType == PK_TYPE_11GA) { if (byFBOption == AUTO_FB_NONE) { struct vnt_tx_datahead_g *buf = pTxDataHead; @@ -618,7 +615,6 @@ s_uFillDataHead( return 0; } - static void s_vFillRTSHead( @@ -1388,7 +1384,6 @@ int vnt_generate_fifo_header(struct vnt_private *priv, u32 dma_idx, else if (priv->byAutoFBCtrl == AUTO_FB_1) tx_buffer_head->fifo_ctl |= cpu_to_le16(FIFOCTL_AUTO_FB_1); - } tx_buffer_head->frag_ctl |= cpu_to_le16(FRAGCTL_NONFRAG); -- 2.7.4