Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 11866efa authored by John W. Linville's avatar John W. Linville
Browse files

ray_cs: remove bogus NULL check at head of ray_get_wireless_stats



Reported-by: default avatarJohannes Berg <johannes@sipsolutions.net>
Cc: Martin Ettl <ettl.martin@gmx.de>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 8d8b261a
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -1511,9 +1511,6 @@ static iw_stats *ray_get_wireless_stats(struct net_device *dev)
	struct pcmcia_device *link = local->finder;
	struct status __iomem *p = local->sram + STATUS_BASE;

	if (local == (ray_dev_t *) NULL)
		return (iw_stats *) NULL;

	local->wstats.status = local->card_status;
#ifdef WIRELESS_SPY
	if ((local->spy_data.spy_number > 0)