Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f9f6890e41815cfb8aa34fe9efb216fcc16eea9e
Commit:     f9f6890e41815cfb8aa34fe9efb216fcc16eea9e
Parent:     04c80f1ab1333f21aa4e92f3554e83365da449a0
Author:     David Woodhouse <[EMAIL PROTECTED]>
AuthorDate: Thu Dec 6 14:44:21 2007 +0000
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Mon Jan 28 15:06:09 2008 -0800

    libertas: Remove SET_BOOT2_VER support from the Big Switch Statement.
    
    And the death of libertas_prepare_and_send_command() starts...
    
    Signed-off-by: David Woodhouse <[EMAIL PROTECTED]>
    Signed-off-by: John W. Linville <[EMAIL PROTECTED]>
---
 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 851eb3c..b1ea878 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,
        return 0;
 }
 
-static int lbs_cmd_set_boot2_ver(struct lbs_private *priv,
-                               struct cmd_ds_command *cmd,
-                               u16 cmd_action, void *pdata_buf)
-{
-       struct cmd_ds_set_boot2_ver *boot2_ver = &cmd->params.boot2_ver;
-       cmd->command = cpu_to_le16(CMD_SET_BOOT2_VER);
-       cmd->size = cpu_to_le16(sizeof(struct cmd_ds_set_boot2_ver) + S_DS_GEN);
-       boot2_ver->version = priv->boot2_version;
-       return 0;
-}
-
 /*
  * Note: NEVER use lbs_queue_cmd() with addtail==0 other than for
  * 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,
                ret = lbs_cmd_mesh_access(priv, cmdptr, cmd_action, pdata_buf);
                break;
 
-       case CMD_SET_BOOT2_VER:
-               ret = lbs_cmd_set_boot2_ver(priv, cmdptr, cmd_action, 
pdata_buf);
-               break;
-
        case CMD_GET_TSF:
                cmdptr->command = cpu_to_le16(CMD_GET_TSF);
                cmdptr->size = cpu_to_le16(sizeof(struct cmd_ds_get_tsf) +
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to