mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] iscsi_ibft: Remove unneeded semicolon
@ 2023-06-27  8:42 baomingtong001
  0 siblings, 0 replies; 3+ messages in thread
From: baomingtong001 @ 2023-06-27  8:42 UTC (permalink / raw)
  To: pjones, konrad; +Cc: linux-kernel

./drivers/firmware/iscsi_ibft.c:803:2-3: Unneeded semicolon

Signed-off-by: Mingtong Bao <baomingtong001@208suo.com>
---
  drivers/firmware/iscsi_ibft.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/firmware/iscsi_ibft.c 
b/drivers/firmware/iscsi_ibft.c
index 6e9788324fea..3c52fde713ce 100644
--- a/drivers/firmware/iscsi_ibft.c
+++ b/drivers/firmware/iscsi_ibft.c
@@ -800,7 +800,7 @@ static void ibft_unregister(void)
  		ibft_kobj = boot_kobj->data;
  		if (ibft_kobj->hdr && ibft_kobj->hdr->id == id_nic)
  			sysfs_remove_link(&boot_kobj->kobj, "device");
-	};
+	}
  }

  static void ibft_cleanup(void)
-- 
2.40.1


^ permalink raw reply	[flat|nested] 3+ messages in thread
* [PATCH] iscsi_ibft: Remove unneeded semicolon
@ 2024-07-01  7:27 Chen Ni
  0 siblings, 0 replies; 3+ messages in thread
From: Chen Ni @ 2024-07-01  7:27 UTC (permalink / raw)
  To: pjones, konrad; +Cc: linux-kernel, Chen Ni

Remove unneeded semicolon.
This is detected by coccinelle.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
---
 drivers/firmware/iscsi_ibft.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/firmware/iscsi_ibft.c b/drivers/firmware/iscsi_ibft.c
index 6e9788324fea..3c52fde713ce 100644
--- a/drivers/firmware/iscsi_ibft.c
+++ b/drivers/firmware/iscsi_ibft.c
@@ -800,7 +800,7 @@ static void ibft_unregister(void)
 		ibft_kobj = boot_kobj->data;
 		if (ibft_kobj->hdr && ibft_kobj->hdr->id == id_nic)
 			sysfs_remove_link(&boot_kobj->kobj, "device");
-	};
+	}
 }
 
 static void ibft_cleanup(void)
-- 
2.25.1


^ permalink raw reply	[flat|nested] 3+ messages in thread
* [PATCH] iscsi_ibft: Remove unneeded semicolon
@ 2019-12-16  3:12 zhengbin
  0 siblings, 0 replies; 3+ messages in thread
From: zhengbin @ 2019-12-16  3:12 UTC (permalink / raw)
  To: pjones, konrad, linux-kernel; +Cc: zhengbin13

Fixes coccicheck warning:

drivers/firmware/iscsi_ibft.c:804:2-3: Unneeded semicolon

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
---
 drivers/firmware/iscsi_ibft.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/firmware/iscsi_ibft.c b/drivers/firmware/iscsi_ibft.c
index 7e12cbd..8748692 100644
--- a/drivers/firmware/iscsi_ibft.c
+++ b/drivers/firmware/iscsi_ibft.c
@@ -801,7 +801,7 @@ static void ibft_unregister(void)
 		ibft_kobj = boot_kobj->data;
 		if (ibft_kobj->hdr && ibft_kobj->hdr->id == id_nic)
 			sysfs_remove_link(&boot_kobj->kobj, "device");
-	};
+	}
 }

 static void ibft_cleanup(void)
--
2.7.4


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-07-01  7:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-27  8:42 [PATCH] iscsi_ibft: Remove unneeded semicolon baomingtong001
  -- strict thread matches above, loose matches on Subject: below --
2024-07-01  7:27 Chen Ni
2019-12-16  3:12 zhengbin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®