Search Linux Wireless

Re: [PATCH 1/3] iwl3945: remove unused len_org variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Against which GIT tree has your patchset to be applied?

- Sedat -

On Fri, Nov 12, 2010 at 8:47 AM, Stanislaw Gruszka <sgruszka@xxxxxxxxxx> wrote:
> Signed-off-by: Stanislaw Gruszka <sgruszka@xxxxxxxxxx>
> ---
> Âdrivers/net/wireless/iwlwifi/iwl3945-base.c | Â Â9 +--------
> Â1 files changed, 1 insertions(+), 8 deletions(-)
>
> diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c
> index 931c546..f2ce7dd 100644
> --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c
> +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c
> @@ -475,7 +475,7 @@ static int iwl3945_tx_skb(struct iwl_priv *priv, struct sk_buff *skb)
> Â Â Â Âdma_addr_t phys_addr;
> Â Â Â Âdma_addr_t txcmd_phys;
> Â Â Â Âint txq_id = skb_get_queue_mapping(skb);
> - Â Â Â u16 len, idx, len_org, hdr_len; /* TODO: len_org is not used */
> + Â Â Â u16 len, idx, hdr_len;
> Â Â Â Âu8 id;
> Â Â Â Âu8 unicast;
> Â Â Â Âu8 sta_id;
> @@ -612,15 +612,8 @@ static int iwl3945_tx_skb(struct iwl_priv *priv, struct sk_buff *skb)
> Â Â Â Â */
> Â Â Â Âlen = sizeof(struct iwl3945_tx_cmd) +
> Â Â Â Â Â Â Â Â Â Â Â Âsizeof(struct iwl_cmd_header) + hdr_len;
> -
> - Â Â Â len_org = len;
> Â Â Â Âlen = (len + 3) & ~3;
>
> - Â Â Â if (len_org != len)
> - Â Â Â Â Â Â Â len_org = 1;
> - Â Â Â else
> - Â Â Â Â Â Â Â len_org = 0;
> -
> Â Â Â Â/* Physical address of this Tx command's header (not MAC header!),
> Â Â Â Â * within command buffer array. */
> Â Â Â Âtxcmd_phys = pci_map_single(priv->pci_dev, &out_cmd->hdr,
> --
> 1.7.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at Âhttp://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux