diff options
-rw-r--r-- | drivers/net/wireless/libertas/cmd.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/net/wireless/libertas/cmd.c b/drivers/net/wireless/libertas/cmd.c index 851eb3ce3e12..b1ea878863a8 100644 --- a/drivers/net/wireless/libertas/cmd.c +++ b/drivers/net/wireless/libertas/cmd.c | |||
@@ -974,17 +974,6 @@ static int lbs_cmd_bcn_ctrl(struct lbs_private * priv, | |||
974 | return 0; | 974 | return 0; |
975 | } | 975 | } |
976 | 976 | ||
977 | static int lbs_cmd_set_boot2_ver(struct lbs_private *priv, | ||
978 | struct cmd_ds_command *cmd, | ||
979 | u16 cmd_action, void *pdata_buf) | ||
980 | { | ||
981 | struct cmd_ds_set_boot2_ver *boot2_ver = &cmd->params.boot2_ver; | ||
982 | cmd->command = cpu_to_le16(CMD_SET_BOOT2_VER); | ||
983 | cmd->size = cpu_to_le16(sizeof(struct cmd_ds_set_boot2_ver) + S_DS_GEN); | ||
984 | boot2_ver->version = priv->boot2_version; | ||
985 | return 0; | ||
986 | } | ||
987 | |||
988 | /* | 977 | /* |
989 | * Note: NEVER use lbs_queue_cmd() with addtail==0 other than for | 978 | * Note: NEVER use lbs_queue_cmd() with addtail==0 other than for |
990 | * the command timer, because it does not account for queued commands. | 979 | * the command timer, because it does not account for queued commands. |
@@ -1470,10 +1459,6 @@ int lbs_prepare_and_send_command(struct lbs_private *priv, | |||
1470 | ret = lbs_cmd_mesh_access(priv, cmdptr, cmd_action, pdata_buf); | 1459 | ret = lbs_cmd_mesh_access(priv, cmdptr, cmd_action, pdata_buf); |
1471 | break; | 1460 | break; |
1472 | 1461 | ||
1473 | case CMD_SET_BOOT2_VER: | ||
1474 | ret = lbs_cmd_set_boot2_ver(priv, cmdptr, cmd_action, pdata_buf); | ||
1475 | break; | ||
1476 | |||
1477 | case CMD_GET_TSF: | 1462 | case CMD_GET_TSF: |
1478 | cmdptr->command = cpu_to_le16(CMD_GET_TSF); | 1463 | cmdptr->command = cpu_to_le16(CMD_GET_TSF); |
1479 | cmdptr->size = cpu_to_le16(sizeof(struct cmd_ds_get_tsf) + | 1464 | cmdptr->size = cpu_to_le16(sizeof(struct cmd_ds_get_tsf) + |