aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/ray_cs.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/ray_cs.c b/drivers/net/wireless/ray_cs.c
index 64e574c3655c..2be78201633f 100644
--- a/drivers/net/wireless/ray_cs.c
+++ b/drivers/net/wireless/ray_cs.c
@@ -1511,9 +1511,6 @@ static iw_stats *ray_get_wireless_stats(struct net_device *dev)
1511 struct pcmcia_device *link = local->finder; 1511 struct pcmcia_device *link = local->finder;
1512 struct status __iomem *p = local->sram + STATUS_BASE; 1512 struct status __iomem *p = local->sram + STATUS_BASE;
1513 1513
1514 if (local == (ray_dev_t *) NULL)
1515 return (iw_stats *) NULL;
1516
1517 local->wstats.status = local->card_status; 1514 local->wstats.status = local->card_status;
1518#ifdef WIRELESS_SPY 1515#ifdef WIRELESS_SPY
1519 if ((local->spy_data.spy_number > 0) 1516 if ((local->spy_data.spy_number > 0)