summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/hfi1/hfi.h
diff options
context:
space:
mode:
authorCai Huoqing <caihuoqing@baidu.com>2021-07-29 16:23:46 +0800
committerJason Gunthorpe <jgg@nvidia.com>2021-07-30 10:06:08 -0300
commit991c4274dc17b58b642894a48ccae85c9e53aad6 (patch)
treefb6b40b59382308c146c407bb0ec9a213fccdabf /drivers/infiniband/hw/hfi1/hfi.h
parent8d7e415d55610d503fdb8815344846b72d194a40 (diff)
downloadlinux-991c4274dc17b58b642894a48ccae85c9e53aad6.tar.bz2
RDMA/hfi1: Fix typo in comments
Remove the repeated word 'the' from comments Link: https://lore.kernel.org/r/20210729082346.1882-1-caihuoqing@baidu.com Signed-off-by: Cai Huoqing <caihuoqing@baidu.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/hfi.h')
-rw-r--r--drivers/infiniband/hw/hfi1/hfi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/hfi1/hfi.h b/drivers/infiniband/hw/hfi1/hfi.h
index 6cf03d16a495..9fbf4bb48161 100644
--- a/drivers/infiniband/hw/hfi1/hfi.h
+++ b/drivers/infiniband/hw/hfi1/hfi.h
@@ -2602,7 +2602,7 @@ static inline bool hfi1_get_hdr_type(u32 lid, struct rdma_ah_attr *attr)
HFI1_PKT_TYPE_16B : HFI1_PKT_TYPE_9B;
/*
- * Return a 16B header type if either the the destination
+ * Return a 16B header type if either the destination
* or source lid is extended.
*/
if (hfi1_get_packet_type(rdma_ah_get_dlid(attr)) == HFI1_PKT_TYPE_16B)