diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2007-08-02 11:49:06 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:49:49 -0400 |
commit | ac558ca2ae878bd7a77831cda684702a2fa23d95 (patch) | |
tree | 10cfbf76cc842b265a9e8f7e4850e04e8e7fb136 /drivers/net/wireless/libertas/decl.h | |
parent | c23a24f6ae083e058ed1e9472979df09915ffdf5 (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/decl.h')
-rw-r--r-- | drivers/net/wireless/libertas/decl.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/wireless/libertas/decl.h b/drivers/net/wireless/libertas/decl.h index 113cfc1395e3..095edf6a4c29 100644 --- a/drivers/net/wireless/libertas/decl.h +++ b/drivers/net/wireless/libertas/decl.h | |||
@@ -15,14 +15,9 @@ struct wlan_private; | |||
15 | struct sk_buff; | 15 | struct sk_buff; |
16 | struct net_device; | 16 | struct net_device; |
17 | 17 | ||
18 | extern char *libertas_fw_name; | ||
19 | |||
20 | void libertas_free_adapter(wlan_private * priv); | ||
21 | int libertas_set_mac_packet_filter(wlan_private * priv); | 18 | int libertas_set_mac_packet_filter(wlan_private * priv); |
22 | 19 | ||
23 | int libertas_send_null_packet(wlan_private * priv, u8 pwr_mgmt); | ||
24 | void libertas_send_tx_feedback(wlan_private * priv); | 20 | void libertas_send_tx_feedback(wlan_private * priv); |
25 | u8 libertas_check_last_packet_indication(wlan_private * priv); | ||
26 | 21 | ||
27 | int libertas_free_cmd_buffer(wlan_private * priv); | 22 | int libertas_free_cmd_buffer(wlan_private * priv); |
28 | struct cmd_ctrl_node; | 23 | struct cmd_ctrl_node; |
@@ -53,8 +48,6 @@ void libertas_upload_rx_packet(wlan_private * priv, struct sk_buff *skb); | |||
53 | /** The proc fs interface */ | 48 | /** The proc fs interface */ |
54 | int libertas_process_rx_command(wlan_private * priv); | 49 | int libertas_process_rx_command(wlan_private * priv); |
55 | int libertas_process_tx(wlan_private * priv, struct sk_buff *skb); | 50 | int libertas_process_tx(wlan_private * priv, struct sk_buff *skb); |
56 | void libertas_cleanup_and_insert_cmd(wlan_private * priv, | ||
57 | struct cmd_ctrl_node *ptempcmd); | ||
58 | void __libertas_cleanup_and_insert_cmd(wlan_private * priv, | 51 | void __libertas_cleanup_and_insert_cmd(wlan_private * priv, |
59 | struct cmd_ctrl_node *ptempcmd); | 52 | struct cmd_ctrl_node *ptempcmd); |
60 | 53 | ||