diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2013-08-27 06:46:17 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-27 19:54:39 -0400 |
commit | 43e48a4a8bc7a2f68c3bd932739e927851aec7a1 (patch) | |
tree | b7cea3495359d232b65df196846fe28dcff6bbc6 | |
parent | 2b83ebd0b78ea5a0a8a5858d3b72325c8ce7a9c5 (diff) |
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: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/vt6656/rxtx.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/vt6656/rxtx.c b/drivers/staging/vt6656/rxtx.c index 463a8d5a0965..98224bc3ea5f 100644 --- a/drivers/staging/vt6656/rxtx.c +++ b/drivers/staging/vt6656/rxtx.c | |||
@@ -766,7 +766,6 @@ static void s_vFillCTSHead(struct vnt_private *pDevice, u32 uDMAIdx, | |||
766 | return; | 766 | return; |
767 | } | 767 | } |
768 | 768 | ||
769 | if (byPktType == PK_TYPE_11GB || byPktType == PK_TYPE_11GA) { | ||
770 | if (byFBOption != AUTO_FB_NONE) { | 769 | if (byFBOption != AUTO_FB_NONE) { |
771 | /* Auto Fall back */ | 770 | /* Auto Fall back */ |
772 | struct vnt_cts_fb *pBuf = (struct vnt_cts_fb *)pvCTS; | 771 | struct vnt_cts_fb *pBuf = (struct vnt_cts_fb *)pvCTS; |
@@ -802,7 +801,6 @@ static void s_vFillCTSHead(struct vnt_private *pDevice, u32 uDMAIdx, | |||
802 | pBuf->data.frame_control = TYPE_CTL_CTS; | 801 | pBuf->data.frame_control = TYPE_CTL_CTS; |
803 | memcpy(pBuf->data.ra, pDevice->abyCurrentNetAddr, ETH_ALEN); | 802 | memcpy(pBuf->data.ra, pDevice->abyCurrentNetAddr, ETH_ALEN); |
804 | } | 803 | } |
805 | } | ||
806 | } | 804 | } |
807 | 805 | ||
808 | /*+ | 806 | /*+ |