From c731837855a9dcc2ec0c5367b0e16ad975aaed16 Mon Sep 17 00:00:00 2001
From: Kalle Valo <kalle.valo@nokia.com>
Date: Fri, 12 Jun 2009 14:17:12 +0300
Subject: [PATCH] wl1251: remove wl1271_setup()

We don't want to have any 1271 code in wl1251.

Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
Reviewed-by: Luciano Coelho <luciano.coelho@nokia.com>
Reviewed-by: Vidhya Govindan <vidhya.govindan@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
---
 drivers/net/wireless/wl12xx/main.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c
index 3fc48c7c28c9c..dd75d3d2efa65 100644
--- a/drivers/net/wireless/wl12xx/main.c
+++ b/drivers/net/wireless/wl12xx/main.c
@@ -195,14 +195,6 @@ static int wl12xx_chip_wakeup(struct wl12xx *wl)
 		wl1251_setup(wl);
 
 		break;
-	case CHIP_ID_1271_PG10:
-		wl12xx_warning("chip id 0x%x (1271 PG10) support is obsolete",
-			       wl->chip.id);
-		break;
-	case CHIP_ID_1271_PG20:
-		wl12xx_debug(DEBUG_BOOT, "chip id 0x%x (1271 PG20)",
-			     wl->chip.id);
-		break;
 	case CHIP_ID_1251_PG10:
 	case CHIP_ID_1251_PG11:
 	default:
-- 
GitLab