diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2008-11-13 15:37:47 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-06 13:52:01 -0800 |
commit | a1da9da99152e065912d58950089405b15d0aebd (patch) | |
tree | c71a33f7fa5b408d46a25e86dff0c5ce0a4be634 /drivers/staging/wlan-ng | |
parent | 9ba8aa7a94c5f3f5ac41ba39be5b1abf1688565e (diff) |
Staging: wlan-ng: fix compiler warnings
This fixes some compiler warnings in teh wlan-ng driver.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/wlan-ng')
-rw-r--r-- | drivers/staging/wlan-ng/p80211netdev.c | 1 | ||||
-rw-r--r-- | drivers/staging/wlan-ng/p80211wext.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/wlan-ng/p80211netdev.c b/drivers/staging/wlan-ng/p80211netdev.c index 89e521183e4..59e5ad10dbd 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 f7ba70fcfc4..0d570f1f378 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; |