wireless: Remove casts to same type
[deliverable/linux.git] / drivers / net / wireless / iwlwifi / iwl-trans-pcie.c
index ec6fb395b84d0aca4e7d7bfcf2e1729c3959dc5a..b849528d48dc06a2fb749b0fd4eabe6df7157d71 100644 (file)
@@ -1354,7 +1354,7 @@ static int iwl_trans_pcie_tx(struct iwl_trans *trans, struct sk_buff *skb,
                        DMA_BIDIRECTIONAL);
 
        trace_iwlwifi_dev_tx(trans->dev,
-                            &((struct iwl_tfd *)txq->tfds)[txq->q.write_ptr],
+                            &txq->tfds[txq->q.write_ptr],
                             sizeof(struct iwl_tfd),
                             &dev_cmd->hdr, firstlen,
                             skb->data + hdr_len, secondlen);
This page took 0.02481 seconds and 5 git commands to generate.