aboutsummaryrefslogtreecommitdiffstats
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 19:49:49 -0400
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 3d5196c9553a..5b0bbc99a21e 100644
--- a/drivers/net/wireless/libertas/wext.h
+++ b/drivers/net/wireless/libertas/wext.h
@@ -4,9 +4,6 @@
4#ifndef _WLAN_WEXT_H_ 4#ifndef _WLAN_WEXT_H_
5#define _WLAN_WEXT_H_ 5#define _WLAN_WEXT_H_
6 6
7#define SUBCMD_OFFSET 4
8#define SUBCMD_DATA(x) *((int *)(x->u.name + SUBCMD_OFFSET))
9
10/** wlan_ioctl_regrdwr */ 7/** wlan_ioctl_regrdwr */
11struct wlan_ioctl_regrdwr { 8struct wlan_ioctl_regrdwr {
12 /** Which register to access */ 9 /** Which register to access */
@@ -25,6 +22,5 @@ struct wlan_ioctl_regrdwr {
25 22
26extern struct iw_handler_def libertas_handler_def; 23extern struct iw_handler_def libertas_handler_def;
27extern struct iw_handler_def mesh_handler_def; 24extern struct iw_handler_def mesh_handler_def;
28int wlan_radio_ioctl(wlan_private * priv, u8 option);
29 25
30#endif /* _WLAN_WEXT_H_ */ 26#endif /* _WLAN_WEXT_H_ */