aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wireless/libertas/wext.h
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2007-08-02 11:49:06 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 16:49:49 -0700
commitac558ca2ae878bd7a77831cda684702a2fa23d95 (patch)
tree10cfbf76cc842b265a9e8f7e4850e04e8e7fb136 /drivers/net/wireless/libertas/wext.h
parentc23a24f6ae083e058ed1e9472979df09915ffdf5 (diff)
[PATCH] libertas: make more functions static & remove unused functions
Some functions where declared in header files, but used only once. They are now static functions. After doing this, I found out that some functions weren't used at all. I removed this dead code. Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/wext.h')
-rw-r--r--drivers/net/wireless/libertas/wext.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/wireless/libertas/wext.h b/drivers/net/wireless/libertas/wext.h
index 3d5196c9553..5b0bbc99a21 100644
--- a/drivers/net/wireless/libertas/wext.h
+++ b/drivers/net/wireless/libertas/wext.h
@@ -4,9 +4,6 @@
#ifndef _WLAN_WEXT_H_
#define _WLAN_WEXT_H_
-#define SUBCMD_OFFSET 4
-#define SUBCMD_DATA(x) *((int *)(x->u.name + SUBCMD_OFFSET))
-
/** wlan_ioctl_regrdwr */
struct wlan_ioctl_regrdwr {
/** Which register to access */
@@ -25,6 +22,5 @@ struct wlan_ioctl_regrdwr {
extern struct iw_handler_def libertas_handler_def;
extern struct iw_handler_def mesh_handler_def;
-int wlan_radio_ioctl(wlan_private * priv, u8 option);
#endif /* _WLAN_WEXT_H_ */