diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-04-26 16:06:09 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-19 11:00:48 -0700 |
commit | 993709edbfece976804ae0d52385fc6315e73064 (patch) | |
tree | 67e36278fa806c31d64e5af87dd27fe2a7bc5af5 /drivers/staging/rt3070/common/2870_rtmp_init.c | |
parent | 303ee97d3c8c11529ab7bccc2c0a4e3f18befcee (diff) | |
download | kernel_samsung_smdk4412-993709edbfece976804ae0d52385fc6315e73064.zip kernel_samsung_smdk4412-993709edbfece976804ae0d52385fc6315e73064.tar.gz kernel_samsung_smdk4412-993709edbfece976804ae0d52385fc6315e73064.tar.bz2 |
Staging: rt3070: remove dead CONFIG_AP_SUPPORT code
Then remove no longer needed IF_DEV_CONFIG_OPMODE_ON_[AP,STA]() macros.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/rt3070/common/2870_rtmp_init.c')
-rw-r--r-- | drivers/staging/rt3070/common/2870_rtmp_init.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/staging/rt3070/common/2870_rtmp_init.c b/drivers/staging/rt3070/common/2870_rtmp_init.c index d946eba..c603c30 100644 --- a/drivers/staging/rt3070/common/2870_rtmp_init.c +++ b/drivers/staging/rt3070/common/2870_rtmp_init.c @@ -234,7 +234,6 @@ NDIS_STATUS NICInitTransmit( // // TX_RING_SIZE, 4 ACs // - IF_DEV_CONFIG_OPMODE_ON_STA(pAd) for(acidx=0; acidx<4; acidx++) { PHT_TX_CONTEXT pHTTXContext = &(pAd->TxContext[acidx]); @@ -432,7 +431,6 @@ out2: } out1: - IF_DEV_CONFIG_OPMODE_ON_STA(pAd) for(acidx=0; acidx<4; acidx++) { PHT_TX_CONTEXT pTxContext = &(pAd->TxContext[acidx]); @@ -640,13 +638,12 @@ VOID RTMPFreeTxRxRingMemory( // Free Tx frame resource - IF_DEV_CONFIG_OPMODE_ON_STA(pAd) - for(acidx=0; acidx<4; acidx++) - { + for(acidx=0; acidx<4; acidx++) + { PHT_TX_CONTEXT pHTTXContext = &(pAd->TxContext[acidx]); if (pHTTXContext) LM_URB_FREE(pObj, pHTTXContext, sizeof(HTTX_BUFFER)); - } + } if (pAd->FragFrame.pFragPacket) RELEASE_NDIS_PACKET(pAd, pAd->FragFrame.pFragPacket, NDIS_STATUS_SUCCESS); |