From: Bartlomiej Zolnierkiewicz Date: Sun, 26 Apr 2009 14:04:34 +0000 (+0200) Subject: Staging: rt3070: remove dead WDS_SUPPORT code X-Git-Tag: v2.6.31-rc1~105^2~167 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7523f56d7f45b84bcc0ed50f51ae1483a0edab1;p=pandora-kernel.git Staging: rt3070: remove dead WDS_SUPPORT code Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rt3070/common/netif_block.c b/drivers/staging/rt3070/common/netif_block.c index 4773c11bedd0..b637a1a7260e 100644 --- a/drivers/staging/rt3070/common/netif_block.c +++ b/drivers/staging/rt3070/common/netif_block.c @@ -95,14 +95,6 @@ VOID StopNetIfQueue( UCHAR IfIdx = 0; BOOLEAN valid = FALSE; -#ifdef WDS_SUPPORT - if (RTMP_GET_PACKET_NET_DEVICE(pPacket) >= MIN_NET_DEVICE_FOR_WDS) - { - IfIdx = (RTMP_GET_PACKET_NET_DEVICE(pPacket) - MIN_NET_DEVICE_FOR_WDS) % MAX_WDS_ENTRY; - NetDev = pAd->WdsTab.WdsEntry[IfIdx].dev; - } - else -#endif // WDS_SUPPORT // { #ifdef MBSS_SUPPORT if (pAd->OpMode == OPMODE_AP) Reading git-diff-tree failed