From: Greg Kroah-Hartman Date: Thu, 13 Nov 2008 23:37:47 +0000 (-0800) Subject: Staging: wlan-ng: fix compiler warnings X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a1da9da99152e065912d58950089405b15d0aebd;p=linux-beck.git Staging: wlan-ng: fix compiler warnings This fixes some compiler warnings in teh wlan-ng driver. Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wlan-ng/p80211netdev.c b/drivers/staging/wlan-ng/p80211netdev.c index 89e521183e41..59e5ad10dbda 100644 --- a/drivers/staging/wlan-ng/p80211netdev.c +++ b/drivers/staging/wlan-ng/p80211netdev.c @@ -921,7 +921,6 @@ int wlan_unsetup(wlandevice_t *wlandev) int register_wlandev(wlandevice_t *wlandev) { int i = 0; - netdevice_t *dev = wlandev->netdev; DBFENTER; diff --git a/drivers/staging/wlan-ng/p80211wext.c b/drivers/staging/wlan-ng/p80211wext.c index f7ba70fcfc4f..0d570f1f378c 100644 --- a/drivers/staging/wlan-ng/p80211wext.c +++ b/drivers/staging/wlan-ng/p80211wext.c @@ -591,7 +591,6 @@ static int p80211wext_siwencode(netdevice_t *dev, int err = 0; int result = 0; - int enable = 0; int i; DBFENTER;