diff options
author | Johannes Berg <johannes.berg@intel.com> | 2011-04-28 18:27:05 +0400 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-05-06 21:45:46 +0400 |
commit | 46975f78fe1f480682e51c9acb03a5089b784cb6 (patch) | |
tree | ef1a2b60e2efad4a8b5b54d41fba05056701bdda /drivers/net/wireless/iwlwifi/iwl-tx.c | |
parent | 4613e72dbdc9a44bfc4625d835511264121c4244 (diff) | |
download | linux-46975f78fe1f480682e51c9acb03a5089b784cb6.tar.xz |
iwlagn: remove get_hcmd_size indirection
There's no need for this, all commands are the right size.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-tx.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-tx.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-tx.c b/drivers/net/wireless/iwlwifi/iwl-tx.c index 52b1b66f32d0..608d7a12c438 100644 --- a/drivers/net/wireless/iwlwifi/iwl-tx.c +++ b/drivers/net/wireless/iwlwifi/iwl-tx.c @@ -447,7 +447,6 @@ int iwl_enqueue_hcmd(struct iwl_priv *priv, struct iwl_host_cmd *cmd) u16 fix_size; bool is_ct_kill = false; - cmd->len = priv->cfg->ops->utils->get_hcmd_size(cmd->id, cmd->len); fix_size = (u16)(cmd->len + sizeof(out_cmd->hdr)); /* |