summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/libertas/cmdresp.c
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2010-07-27 12:57:27 -0700
committerJohn W. Linville <linville@tuxdriver.com>2010-07-27 15:07:58 -0400
commitdb08006fc4e825e632083f2a2de827ca2121c28d (patch)
treeb1ce59612a39f0a5bd30c89e4194e75e1f3a401d /drivers/net/wireless/libertas/cmdresp.c
parent49a08af5b9aa91207e3654ca3c88ca4d2596601c (diff)
downloadlwn-db08006fc4e825e632083f2a2de827ca2121c28d.tar.gz
lwn-db08006fc4e825e632083f2a2de827ca2121c28d.zip
libertas: remove unused Automatic Frequency Control command
It hasn't been hooked up to anything in a long time and it's not even listed in any of the firmware documentation I have (and I have v5.1, v8, v9, and v10). Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/cmdresp.c')
-rw-r--r--drivers/net/wireless/libertas/cmdresp.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/net/wireless/libertas/cmdresp.c b/drivers/net/wireless/libertas/cmdresp.c
index 6bc40c6a243f..c3cbc8a1847d 100644
--- a/drivers/net/wireless/libertas/cmdresp.c
+++ b/drivers/net/wireless/libertas/cmdresp.c
@@ -113,15 +113,6 @@ static inline int handle_cmd_response(struct lbs_private *priv,
ret = lbs_ret_reg_access(priv, respcmd, resp);
break;
- case CMD_RET(CMD_802_11_SET_AFC):
- case CMD_RET(CMD_802_11_GET_AFC):
- spin_lock_irqsave(&priv->driver_lock, flags);
- memmove((void *)priv->cur_cmd->callback_arg, &resp->params.afc,
- sizeof(struct cmd_ds_802_11_afc));
- spin_unlock_irqrestore(&priv->driver_lock, flags);
-
- break;
-
case CMD_RET(CMD_802_11_BEACON_STOP):
break;