[PATCH] nvmet-fc: remove repeated word from comment

Chaitanya Kulkarni kch at nvidia.com
Tue Jan 16 20:43:34 PST 2024


Remove the repeated word "port" from the comment. Also, since there is
an ample space to accommodate more words per line by maintaining
80-char limit use this opportunity to adjust the overall comment.

Signed-off-by: Chaitanya Kulkarni <kch at nvidia.com>
---
 drivers/nvme/target/fc.c | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/drivers/nvme/target/fc.c b/drivers/nvme/target/fc.c
index bda7a3009e85..757a7348a8b0 100644
--- a/drivers/nvme/target/fc.c
+++ b/drivers/nvme/target/fc.c
@@ -1315,12 +1315,11 @@ nvmet_fc_portentry_unbind_tgt(struct nvmet_fc_tgtport *tgtport)
 }
 
 /*
- * called when a new targetport is registered. Looks in the
- * existing nvmet port_entries to see if the nvmet layer is
- * configured for the targetport's wwn's. (the targetport existed,
- * nvmet configured, the lldd unregistered the tgtport, and is now
- * reregistering the same targetport).  If so, set the nvmet port
- * port entry on the targetport.
+ * called when a new targetport is registered. Looks in the existing nvmet
+ * port_entries to see if the nvmet layer is configured for the targetport's
+ * wwn's. (the targetport existed, nvmet configured, the lldd unregistered the
+ * tgtport, and is now reregistering the same targetport).  If so, set the
+ * nvmet port entry on the targetport.
  */
 static void
 nvmet_fc_portentry_rebind_tgt(struct nvmet_fc_tgtport *tgtport)
-- 
2.40.0




More information about the Linux-nvme mailing list