iwlwifi: remove redundant iwl_dump_lq_cmd()
authorShanyu Zhao <shanyu.zhao@intel.com>
Fri, 9 Apr 2010 02:03:55 +0000 (19:03 -0700)
committerReinette Chatre <reinette.chatre@intel.com>
Fri, 16 Apr 2010 20:52:33 +0000 (13:52 -0700)
This function is called twice in a row, remove the second one.

Signed-off-by: Shanyu Zhao <shanyu.zhao@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
drivers/net/wireless/iwlwifi/iwl-sta.c

index 09d9c4d564508fc4143cd75ad9a305e429eb044f..db934476b5e9e81572ff9b58585acec653ff5176 100644 (file)
@@ -1206,7 +1206,6 @@ int iwl_send_lq_cmd(struct iwl_priv *priv,
        iwl_dump_lq_cmd(priv, lq);
        BUG_ON(init && (cmd.flags & CMD_ASYNC));
 
-       iwl_dump_lq_cmd(priv, lq);
        ret = iwl_send_cmd(priv, &cmd);
        if (ret || (cmd.flags & CMD_ASYNC))
                return ret;