aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/join.c
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2008-03-19 09:25:58 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-03-25 16:41:49 -0400
commite98a88dd33b7188ce84533e128101dd9630ae592 (patch)
tree14268254f1f588c691dcd52505c595142548afdd /drivers/net/wireless/libertas/join.c
parentd4ff0ef635b222d5f66dad65e9364d702e5f94e0 (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/join.c')
-rw-r--r--drivers/net/wireless/libertas/join.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/net/wireless/libertas/join.c b/drivers/net/wireless/libertas/join.c
index 56e64a697c37..3e5026ff2ffa 100644
--- a/drivers/net/wireless/libertas/join.c
+++ b/drivers/net/wireless/libertas/join.c
@@ -561,8 +561,7 @@ done:
561 return ret; 561 return ret;
562} 562}
563 563
564int lbs_cmd_80211_ad_hoc_stop(struct lbs_private *priv, 564int lbs_cmd_80211_ad_hoc_stop(struct cmd_ds_command *cmd)
565 struct cmd_ds_command *cmd)
566{ 565{
567 cmd->command = cpu_to_le16(CMD_802_11_AD_HOC_STOP); 566 cmd->command = cpu_to_le16(CMD_802_11_AD_HOC_STOP);
568 cmd->size = cpu_to_le16(S_DS_GEN); 567 cmd->size = cpu_to_le16(S_DS_GEN);
@@ -773,8 +772,7 @@ done:
773 return ret; 772 return ret;
774} 773}
775 774
776int lbs_ret_80211_disassociate(struct lbs_private *priv, 775int lbs_ret_80211_disassociate(struct lbs_private *priv)
777 struct cmd_ds_command *resp)
778{ 776{
779 lbs_deb_enter(LBS_DEB_JOIN); 777 lbs_deb_enter(LBS_DEB_JOIN);
780 778
@@ -863,8 +861,7 @@ done:
863 return ret; 861 return ret;
864} 862}
865 863
866int lbs_ret_80211_ad_hoc_stop(struct lbs_private *priv, 864int lbs_ret_80211_ad_hoc_stop(struct lbs_private *priv)
867 struct cmd_ds_command *resp)
868{ 865{
869 lbs_deb_enter(LBS_DEB_JOIN); 866 lbs_deb_enter(LBS_DEB_JOIN);
870 867