coresight: core: Remove unneeded semicolon
PATCH 1/1 coresight: core: Remove unneeded semicolon
Fixes coccicheck warning:
./drivers/hwtracing/coresight/coresight-core.c:421:4-5: Unneeded semicolon
Reported-by Hulk Robot <[email protected]>
Signed-off-by Zou Wei <[email protected]>
--- drivers/hwtracing/coresight/coresight-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hwtracing/coresight/coresight-core.c +1 -1
@@ -418,7 +418,7 @@ static int coresight_enable_source(struct coresight_device *csdev, u32 mode)if (ret) {coresight_control_assoc_ectdev (csdev, false);return ret; - }; + } } csdev->enable = true; }
Signature · 1 line
2.6.2
Hi Wei,
Quoted 15 lines · Zou Wei
Fixes coccicheck warning:
./drivers/hwtracing/coresight/coresight-core.c:421:4-5: Unneeded semicolon
Reported-by Hulk Robot <[email protected]>Signed-off-by Zou Wei <[email protected]>--- drivers/hwtracing/coresight/coresight-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/hwtracing/coresight/coresight-core.c +0
-0
drivers/hwtracing/coresight/coresight-core.c static int coresight_enable_source(struct coresight_device *csdev, u32 mode) · line 421
Quoted 5 lines
drivers/hwtracing/coresight/coresight-core.c +1
-1@@ -418,7 +418,7 @@ static int coresight_enable_source(struct coresight_device *csdev, u32 mode)if (ret) {coresight_control_assoc_ectdev (csdev, false);return ret; - }; + }
I picked up your patch.
Thanks,
Mathieu
Quoted 6 lines
drivers/hwtracing/coresight/coresight-core.c +0
-0} csdev->enable = true; }Signature · 1 line
2.6.2