ath11k: remove repeated words in comments and warnings
authorKalle Valo <kvalo@codeaurora.org>
Tue, 27 Oct 2020 13:01:45 +0000 (15:01 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 28 Oct 2020 13:44:04 +0000 (15:44 +0200)
Found by latest checkpatch.

Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1603803705-22447-1-git-send-email-kvalo@codeaurora.org
drivers/net/wireless/ath/ath11k/dp.c
drivers/net/wireless/ath/ath11k/dp.h
drivers/net/wireless/ath/ath11k/dp_rx.c
drivers/net/wireless/ath/ath11k/hal_desc.h
drivers/net/wireless/ath/ath11k/rx_desc.h
drivers/net/wireless/ath/ath11k/testmode.c
drivers/net/wireless/ath/ath11k/wmi.c

index 59dd185a0cfce0fe2896698f847d283d3fff31e5..f977056ae5e8d7a213a247ffd2dc38f8c9e0c175 100644 (file)
@@ -381,7 +381,7 @@ static int ath11k_dp_srng_common_setup(struct ath11k_base *ab)
                                           HAL_WBM2SW_RELEASE, i, 0,
                                           DP_TX_COMP_RING_SIZE);
                if (ret) {
-                       ath11k_warn(ab, "failed to set up tcl_comp ring ring (%d) :%d\n",
+                       ath11k_warn(ab, "failed to set up tcl_comp ring (%d) :%d\n",
                                    i, ret);
                        goto err;
                }
index ee8db812589b3cdecdfda17ba796e36b75faa0a9..d4fd02375fad575f513832febd1962dccf77f54e 100644 (file)
@@ -423,7 +423,7 @@ enum htt_srng_ring_id {
  *                     Used only by Consumer ring to generate ring_sw_int_p.
  *                     Ring entries low threshold water mark, that is used
  *                     in combination with the interrupt timer as well as
- *                     the the clearing of the level interrupt.
+ *                     the clearing of the level interrupt.
  *           b'16:18 - prefetch_timer_cfg:
  *                     Used only by Consumer ring to set timer mode to
  *                     support Application prefetch handling.
index 01625327eef7cebdd852ec2064f11ce2804a39e5..571722baa0b3e4571d78991fede72d44b4aee123 100644 (file)
@@ -377,7 +377,7 @@ static int ath11k_dp_rxdma_buf_ring_free(struct ath11k *ar,
        spin_lock_bh(&rx_ring->idr_lock);
        idr_for_each_entry(&rx_ring->bufs_idr, skb, buf_id) {
                idr_remove(&rx_ring->bufs_idr, buf_id);
-               /* TODO: Understand where internal driver does this dma_unmap of
+               /* TODO: Understand where internal driver does this dma_unmap
                 * of rxdma_buffer.
                 */
                dma_unmap_single(ar->ab->dev, ATH11K_SKB_RXCB(skb)->paddr,
@@ -399,7 +399,7 @@ static int ath11k_dp_rxdma_buf_ring_free(struct ath11k *ar,
        spin_lock_bh(&rx_ring->idr_lock);
        idr_for_each_entry(&rx_ring->bufs_idr, skb, buf_id) {
                idr_remove(&rx_ring->bufs_idr, buf_id);
-               /* XXX: Understand where internal driver does this dma_unmap of
+               /* XXX: Understand where internal driver does this dma_unmap
                 * of rxdma_buffer.
                 */
                dma_unmap_single(ar->ab->dev, ATH11K_SKB_RXCB(skb)->paddr,
@@ -960,7 +960,7 @@ int ath11k_peer_rx_tid_setup(struct ath11k *ar, const u8 *peer_mac, int vdev_id,
 
        rx_tid->ba_win_sz = ba_win_sz;
 
-       /* TODO: Optimize the memory allocation for qos tid based on the
+       /* TODO: Optimize the memory allocation for qos tid based on
         * the actual BA window size in REO tid update path.
         */
        if (tid == HAL_DESC_REO_NON_QOS_TID)
index 8a592814efa00d6b07cbf27062220c2617698ea4..ceebdc28ddeb1a99c394f09e7fec8199b5be1f4d 100644 (file)
@@ -716,7 +716,7 @@ struct hal_reo_dest_ring {
  *
  * rx_msdu_info
  *             General information related to the MSDU that is passed
- *             on from RXDMA all the way to to the REO destination ring.
+ *             on from RXDMA all the way to the REO destination ring.
  *
  * queue_addr_lo
  *             Address (lower 32 bits) of the REO queue descriptor.
index 1c4264637a41236c99d210ab9a40566562cb70a6..86494da1069a29fdae21f6344ed7ad0c0a581a7b 100644 (file)
@@ -170,7 +170,7 @@ struct rx_attention {
  *
  * ast_index_not_found
  *             Only valid when first_msdu is set. Indicates no AST matching
- *             entries within the the max search count.
+ *             entries within the max search count.
  *
  * ast_index_timeout
  *             Only valid when first_msdu is set. Indicates an unsuccessful
index d2dc9db01491bd4ab6a82e721106511f002b520e..4bf1931adbaaec6590aedb1e1930c7d48e28145d 100644 (file)
@@ -51,7 +51,7 @@ bool ath11k_tm_event_wmi(struct ath11k *ar, u32 cmd_id, struct sk_buff *skb)
        ret = nla_put_u32(nl_skb, ATH11K_TM_ATTR_CMD, ATH11K_TM_CMD_WMI);
        if (ret) {
                ath11k_warn(ar->ab,
-                           "failed to to put testmode wmi event cmd attribute: %d\n",
+                           "failed to put testmode wmi event cmd attribute: %d\n",
                            ret);
                kfree_skb(nl_skb);
                goto out;
@@ -60,7 +60,7 @@ bool ath11k_tm_event_wmi(struct ath11k *ar, u32 cmd_id, struct sk_buff *skb)
        ret = nla_put_u32(nl_skb, ATH11K_TM_ATTR_WMI_CMDID, cmd_id);
        if (ret) {
                ath11k_warn(ar->ab,
-                           "failed to to put testmode wmi even cmd_id: %d\n",
+                           "failed to put testmode wmi even cmd_id: %d\n",
                            ret);
                kfree_skb(nl_skb);
                goto out;
index 8eca92520837edd92a3e3fdd7a4553a97bb70a5b..6e173737c0eb2a967d448ebee1a2ee6f87a01208 100644 (file)
@@ -362,7 +362,7 @@ ath11k_pull_mac_phy_cap_svc_ready_ext(struct ath11k_pdev_wmi *wmi_handle,
         * For example, for 4x4 capable macphys, first 4 chains can be used for first
         * mac and the remaing 4 chains can be used for the second mac or vice-versa.
         * In this case, tx/rx chainmask 0xf will be advertised for first mac and 0xf0
-        * will be advertised for second mac or vice-versa. Compute the shift value for
+        * will be advertised for second mac or vice-versa. Compute the shift value
         * for tx/rx chainmask which will be used to advertise supported ht/vht rates to
         * mac80211.
         */