Gitweb: http://git.kernel.org/linus/92e6765f4080520759acfb0bc41402485271365a
Commit: 92e6765f4080520759acfb0bc41402485271365a
Parent: 4a5629b92ee530e7c3077689d5efb90be613a9a5
Author: Alexander Beregalov <a.beregalov@gmail.com>
AuthorDate: Fri Jul 3 16:25:52 2009 +0400
Committer: Greg Kroah-Hartman <gregkh@suse.de>
CommitDate: Tue Sep 15 12:01:33 2009 -0700
Staging: otus: remove dependency on WIRELESS_EXT version
As the driver is in mainline now we can remove such dependency.
WIRELESS_EXT is 22 now and it is always defined.
Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/staging/otus/ioctl.c | 18 +-----------------
drivers/staging/otus/usbdrv.c | 14 --------------
drivers/staging/otus/wrap_buf.c | 3 ---
drivers/staging/otus/wrap_dbg.c | 3 ---
drivers/staging/otus/wrap_ev.c | 7 -------
drivers/staging/otus/wrap_mem.c | 3 ---
drivers/staging/otus/wrap_mis.c | 3 ---
drivers/staging/otus/wrap_pkt.c | 4 ----
drivers/staging/otus/wrap_sec.c | 3 ---
drivers/staging/otus/wrap_usb.c | 3 ---
drivers/staging/otus/wwrap.c | 3 ---
drivers/staging/otus/zdcompat.h | 10 ----------
12 files changed, 1 insertions(+), 73 deletions(-)
diff --git a/drivers/staging/otus/ioctl.c b/drivers/staging/otus/ioctl.c
index dd32705..6808e69 100644
--- a/drivers/staging/otus/ioctl.c
+++ b/drivers/staging/otus/ioctl.c
@@ -58,9 +58,7 @@
#define ZD_MAX_KEY_SIZE 32
#define ZD_MAX_GENERIC_SIZE 64
-#if WIRELESS_EXT > 12
#include <net/iw_handler.h>
-#endif
extern u16_t zfLnxGetVapId(zdev_t *dev);
@@ -248,7 +246,6 @@ int usbdrv_ioctl_setrts(struct net_device *dev, struct iw_param *rrq)
return 0;
}
-#if WIRELESS_EXT > 14
/*
* Encode a WPA or RSN information element as a custom
* element using the hostap format.
@@ -269,7 +266,6 @@ u32 encode_ie(void *buf, u32 bufsize, const u8 *ie, u32 ielen,
...