aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/rt2870/common
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-04-26 16:04:59 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-06-19 11:00:43 -0700
commitcb85dd00597aa21adc4bfbeeccb4c63d7eca2885 (patch)
tree7fdc843be167385dbd543d6f0b85860c237cc0e0 /drivers/staging/rt2870/common
parent924b813ba842be039217823d10d812e7a3df4114 (diff)
Staging: rt2870: remove dead DFS_SUPPORT code
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/rt2870/common')
-rw-r--r--drivers/staging/rt2870/common/dfs.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/staging/rt2870/common/dfs.c b/drivers/staging/rt2870/common/dfs.c
index b09bba5cb20..87289627e9e 100644
--- a/drivers/staging/rt2870/common/dfs.c
+++ b/drivers/staging/rt2870/common/dfs.c
@@ -314,15 +314,6 @@ ULONG RTMPReadRadarDuration(
{
ULONG result = 0;
-#ifdef DFS_SUPPORT
- UINT8 duration1 = 0, duration2 = 0, duration3 = 0;
-
- BBP_IO_READ8_BY_REG_ID(pAd, BBP_R116, &duration1);
- BBP_IO_READ8_BY_REG_ID(pAd, BBP_R117, &duration2);
- BBP_IO_READ8_BY_REG_ID(pAd, BBP_R118, &duration3);
- result = (duration1 << 16) + (duration2 << 8) + duration3;
-#endif // DFS_SUPPORT //
-
return result;
}