diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2008-03-19 09:25:58 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-03-25 16:41:49 -0400 |
commit | e98a88dd33b7188ce84533e128101dd9630ae592 (patch) | |
tree | 14268254f1f588c691dcd52505c595142548afdd /drivers/net/wireless/libertas/debugfs.c | |
parent | d4ff0ef635b222d5f66dad65e9364d702e5f94e0 (diff) |
libertas: remove lots of unused stuff
This removes many unused function parameters as well as some not-implemented
functions, e.g. CMD_802_11_GET_STATS. The silly lbs_set_cmd_ctrl_node()
function is now also gone.
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/debugfs.c')
-rw-r--r-- | drivers/net/wireless/libertas/debugfs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/libertas/debugfs.c b/drivers/net/wireless/libertas/debugfs.c index 8f88786b036f..6d7c0d9b677b 100644 --- a/drivers/net/wireless/libertas/debugfs.c +++ b/drivers/net/wireless/libertas/debugfs.c | |||
@@ -19,7 +19,7 @@ static char *szStates[] = { | |||
19 | }; | 19 | }; |
20 | 20 | ||
21 | #ifdef PROC_DEBUG | 21 | #ifdef PROC_DEBUG |
22 | static void lbs_debug_init(struct lbs_private *priv, struct net_device *dev); | 22 | static void lbs_debug_init(struct lbs_private *priv); |
23 | #endif | 23 | #endif |
24 | 24 | ||
25 | static int open_file_generic(struct inode *inode, struct file *file) | 25 | static int open_file_generic(struct inode *inode, struct file *file) |
@@ -778,7 +778,7 @@ void lbs_debugfs_init_one(struct lbs_private *priv, struct net_device *dev) | |||
778 | } | 778 | } |
779 | 779 | ||
780 | #ifdef PROC_DEBUG | 780 | #ifdef PROC_DEBUG |
781 | lbs_debug_init(priv, dev); | 781 | lbs_debug_init(priv); |
782 | #endif | 782 | #endif |
783 | exit: | 783 | exit: |
784 | return; | 784 | return; |
@@ -952,7 +952,7 @@ static struct file_operations lbs_debug_fops = { | |||
952 | * @param dev pointer net_device | 952 | * @param dev pointer net_device |
953 | * @return N/A | 953 | * @return N/A |
954 | */ | 954 | */ |
955 | static void lbs_debug_init(struct lbs_private *priv, struct net_device *dev) | 955 | static void lbs_debug_init(struct lbs_private *priv) |
956 | { | 956 | { |
957 | int i; | 957 | int i; |
958 | 958 | ||