dma-mapping: remove unneeded semicolon
Subsystems (2)
PATCH 1/1 dma-mapping: remove unneeded semicolon
Eliminate the following coccicheck warning:
./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 Abaci Robot <[email protected]>
Signed-off-by Yang Li <[email protected]>
--- arch/powerpc/platforms/ps3/system-bus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/powerpc/platforms/ps3/system-bus.c +2 -2
@@ -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 );
Signature · 1 line
1.8.3.1
Quoted 9 lines · Yang Li
Eliminate the following coccicheck warning:
./arch/powerpc/platforms/ps3/system-bus.c:606:2-3: Unneeded semicolon ./arch/powerpc/platforms/ps3/system-bus.c:765:2-3: Unneeded semicolonReported-by Abaci Robot <[email protected]>Signed-off-by Yang Li <[email protected]>--- arch/powerpc/platforms/ps3/system-bus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Thanks for your patch, it looks good.
Acked-by Geoff Levand <[email protected]>
-Geoff