RDMA/hfi1: fix repeated words in comments
authorwangjianli <wangjianli@cdjrlc.com>
Thu, 8 Sep 2022 13:18:24 +0000 (21:18 +0800)
committerLeon Romanovsky <leon@kernel.org>
Tue, 20 Sep 2022 11:06:49 +0000 (14:06 +0300)
Delete the redundant word 'to'.

Signed-off-by: wangjianli <wangjianli@cdjrlc.com>
Link: https://lore.kernel.org/r/20220908131824.41106-1-wangjianli@cdjrlc.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/hfi1/chip.c
drivers/infiniband/hw/hfi1/firmware.c

index f1245c94ae2629d329d68e19349360b37bf7f725..ebe970f76232dc8f03e5d1bf3262f4f7034e55eb 100644 (file)
@@ -8753,7 +8753,7 @@ static int do_8051_command(struct hfi1_devdata *dd, u32 type, u64 in_data,
 
        /*
         * When writing a LCB CSR, out_data contains the full value to
-        * to be written, while in_data contains the relative LCB
+        * be written, while in_data contains the relative LCB
         * address in 7:0.  Do the work here, rather than the caller,
         * of distrubting the write data to where it needs to go:
         *
index aa15a5cc7cf3a342a912f590c21c4934a3fff40a..1d77514ebbee0dad6c3162c8b86fc45d5763be46 100644 (file)
@@ -1114,7 +1114,7 @@ static void turn_off_spicos(struct hfi1_devdata *dd, int flags)
  * Reset all of the fabric serdes for this HFI in preparation to take the
  * link to Polling.
  *
- * To do a reset, we need to write to to the serdes registers.  Unfortunately,
+ * To do a reset, we need to write to the serdes registers.  Unfortunately,
  * the fabric serdes download to the other HFI on the ASIC will have turned
  * off the firmware validation on this HFI.  This means we can't write to the
  * registers to reset the serdes.  Work around this by performing a complete