Staging: wlan-ng: fix compiler warnings
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 13 Nov 2008 23:37:47 +0000 (15:37 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 6 Jan 2009 21:52:01 +0000 (13:52 -0800)
This fixes some compiler warnings in teh wlan-ng driver.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/wlan-ng/p80211netdev.c
drivers/staging/wlan-ng/p80211wext.c

index 89e521183e414666990030e2e8971d85e3b50534..59e5ad10dbda8e839e75e6827bc7cec04ab9bab2 100644 (file)
@@ -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;
 
index f7ba70fcfc4fd930b456e3645299d26ee9ddfd9d..0d570f1f378cd2274df70c0a43c596e5de686e27 100644 (file)
@@ -591,7 +591,6 @@ static int p80211wext_siwencode(netdevice_t *dev,
 
        int err = 0;
        int result = 0;
-       int enable = 0;
        int i;
 
        DBFENTER;