Commit 43e48a4a authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman
Browse files

staging: vt6656: rxtx.c s_vFillCTSHead Remove byPktType if



s_vFillCTSHead is only called when byPktType == PK_TYPE_11GB ||
byPktType == PK_TYPE_11GA so remove unnecessary if on byPktType.

Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2b83ebd0
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -766,7 +766,6 @@ static void s_vFillCTSHead(struct vnt_private *pDevice, u32 uDMAIdx,
        return;
    }

    if (byPktType == PK_TYPE_11GB || byPktType == PK_TYPE_11GA) {
	if (byFBOption != AUTO_FB_NONE) {
		/* Auto Fall back */
		struct vnt_cts_fb *pBuf = (struct vnt_cts_fb *)pvCTS;
@@ -803,7 +802,6 @@ static void s_vFillCTSHead(struct vnt_private *pDevice, u32 uDMAIdx,
		memcpy(pBuf->data.ra, pDevice->abyCurrentNetAddr, ETH_ALEN);
        }
}
}

/*+
 *