diff mbox series

libata: fix semicolon.cocci warnings

Message ID 20180919214949.GA26352@lkp-nex06.lkp.intel.com (mailing list archive)
State New, archived
Headers show
Series libata: fix semicolon.cocci warnings | expand

Commit Message

Fengguang Wu Sept. 19, 2018, 9:49 p.m. UTC
From: kbuild test robot <fengguang.wu@intel.com>

drivers/ata/libata-core.c:6101:3-4: Unneeded semicolon


 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Fixes: 0ea8bf5a708e ("libata: add ledtrig support")
CC: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
---

url:    https://github.com/0day-ci/linux/commits/Aditya-Prayoga/Add-support-per-ATA-port-ledtrigger-on-armada-38x/20180920-002037
base:   https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next

 libata-core.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -6098,7 +6098,7 @@  static void ata_host_release(struct kref
 		if (ap->ledtrig) {
 			led_trigger_unregister(ap->ledtrig);
 			kfree(ap->ledtrig);
-		};
+		}
 #endif
 		kfree(ap);
 		host->ports[i] = NULL;