summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorjing yangyang <cgel.zte@gmail.com>2021-08-20 05:49:01 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2022-03-09 06:26:35 +0300
commit9f5196065eeb96fee1a15f2eae31fe1fc7623ade (patch)
tree34bcc36bf4033f7e83e7f725e7044855e690ec13 /arch
parent792993919349fefba20f58ae4843c80e8b01f518 (diff)
downloadlinux-9f5196065eeb96fee1a15f2eae31fe1fc7623ade.tar.xz
powerpc/ps3: remove unneeded semicolons
Eliminate the following coccicheck warnings: ./arch/powerpc/platforms/ps3/system-bus.c:606:2-3: Unneeded semicolon ./arch/powerpc/platforms/ps3/system-bus.c:765:2-3: Unneeded semicolon Reported-by: Zeal Robot <zealci@zte.com.cn> Signed-off-by: jing yangyang <jing.yangyang@zte.com.cn> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/01647102607ce9640c9f27786d976109a3c4ea7e.1629197153.git.jing.yangyang@zte.com.cn
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/platforms/ps3/system-bus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/ps3/system-bus.c b/arch/powerpc/platforms/ps3/system-bus.c
index c8b50fec56bf..b637bf292047 100644
--- a/arch/powerpc/platforms/ps3/system-bus.c
+++ b/arch/powerpc/platforms/ps3/system-bus.c
@@ -603,7 +603,7 @@ static dma_addr_t ps3_ioc0_map_page(struct device *_dev, struct page *page,
default:
/* not happned */
BUG();
- };
+ }
result = ps3_dma_map(dev->d_region, (unsigned long)ptr, size,
&bus_addr, iopte_flag);
@@ -762,7 +762,7 @@ int ps3_system_bus_device_register(struct ps3_system_bus_device *dev)
break;
default:
BUG();
- };
+ }
dev->core.of_node = NULL;
set_dev_node(&dev->core, 0);