Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

video: Remove unnecessary semicolons

These aren't necessary after switch, for, and if blocks.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>

authored by

Joe Perches and committed by
Tomi Valkeinen
cf6ac4ce 9e210be6

+19 -19
+1 -1
drivers/video/cfbimgblt.c
··· 181 181 } 182 182 shift += bpp; 183 183 shift &= (32 - 1); 184 - if (!l) { l = 8; s++; }; 184 + if (!l) { l = 8; s++; } 185 185 } 186 186 187 187 /* write trailing bits */
+2 -2
drivers/video/cg14.c
··· 330 330 default: 331 331 ret = -ENOSYS; 332 332 break; 333 - }; 333 + } 334 334 if (!ret) { 335 335 sbus_writeb(cur_mode, &regs->mcr); 336 336 par->mode = mode; ··· 343 343 FBTYPE_MDICOLOR, 8, 344 344 info->fix.smem_len); 345 345 break; 346 - }; 346 + } 347 347 348 348 return ret; 349 349 }
+1 -1
drivers/video/cg6.c
··· 624 624 default: 625 625 cg6_cpu_name = "i386"; 626 626 break; 627 - }; 627 + } 628 628 if (((conf >> CG6_FHC_REV_SHIFT) & CG6_FHC_REV_MASK) >= 11) { 629 629 if (info->fix.smem_len <= 0x100000) 630 630 cg6_card_name = "TGX";
+1 -1
drivers/video/exynos/exynos_mipi_dsi_common.c
··· 667 667 default: 668 668 dev_info(dsim->dev, "data lane is invalid.\n"); 669 669 return -EINVAL; 670 - }; 670 + } 671 671 672 672 exynos_mipi_dsi_sw_reset(dsim); 673 673 exynos_mipi_dsi_func_reset(dsim);
+1 -1
drivers/video/fsl-diu-fb.c
··· 1102 1102 1103 1103 fsl_diu_load_cursor_image(info, image, bg, fg, 1104 1104 cursor->image.width, cursor->image.height); 1105 - }; 1105 + } 1106 1106 1107 1107 /* 1108 1108 * Show or hide the cursor. The cursor data is always stored in the
+1 -1
drivers/video/leo.c
··· 469 469 470 470 default: 471 471 continue; 472 - }; 472 + } 473 473 sbus_writel(0x5800 + j, &lx_krn->krn_type); 474 474 sbus_writel(wi->wi_values[0], &lx_krn->krn_value); 475 475 }
+2 -2
drivers/video/matrox/matroxfb_DAC1064.c
··· 494 494 if (inDAC1064(minfo, M1064_XPIXPLLSTAT) & 0x40) 495 495 break; 496 496 udelay(10); 497 - }; 497 + } 498 498 499 499 CRITEND 500 500 ··· 639 639 if (inDAC1064(minfo, M1064_XPIXPLLSTAT) & 0x40) 640 640 break; 641 641 udelay(10); 642 - }; 642 + } 643 643 if (!clk) 644 644 printk(KERN_ERR "matroxfb: Pixel PLL%c not locked after usual time\n", (reg-M1064_XPIXPLLAM-2)/4 + 'A'); 645 645 selClk = inDAC1064(minfo, M1064_XPIXCLKCTRL) & ~M1064_XPIXCLKCTRL_SRC_MASK;
+1 -1
drivers/video/matrox/matroxfb_Ti3026.c
··· 473 473 if (inTi3026(minfo, TVP3026_XPIXPLLDATA) & 0x40) 474 474 break; 475 475 udelay(10); 476 - }; 476 + } 477 477 if (!tmout) 478 478 printk(KERN_ERR "matroxfb: Temporary pixel PLL not locked after 5 secs\n"); 479 479
+1 -1
drivers/video/nvidia/nv_hw.c
··· 1300 1300 break; 1301 1301 default: 1302 1302 break; 1303 - }; 1303 + } 1304 1304 1305 1305 NV_WR32(par->PGRAPH, 0x0b38, 0x2ffff800); 1306 1306 NV_WR32(par->PGRAPH, 0x0b3c, 0x00006000);
+1 -1
drivers/video/omap2/displays-new/panel-dsi-cm.c
··· 599 599 if (r) { 600 600 dev_err(&ddata->pdev->dev, "failed to configure DSI pins\n"); 601 601 goto err0; 602 - }; 602 + } 603 603 604 604 r = in->ops.dsi->set_config(in, &dsi_config); 605 605 if (r) {
+1 -1
drivers/video/omap2/dss/dispc.c
··· 2918 2918 break; 2919 2919 default: 2920 2920 BUG(); 2921 - }; 2921 + } 2922 2922 2923 2923 l = dispc_read_reg(DISPC_POL_FREQ(channel)); 2924 2924 l |= FLD_VAL(onoff, 17, 17);
+1 -1
drivers/video/omap2/dss/dsi.c
··· 4066 4066 default: 4067 4067 r = -EINVAL; 4068 4068 goto err_pix_fmt; 4069 - }; 4069 + } 4070 4070 4071 4071 dsi_if_enable(dsidev, false); 4072 4072 dsi_vc_enable(dsidev, channel, false);
+1 -1
drivers/video/sbuslib.c
··· 186 186 } 187 187 default: 188 188 return -EINVAL; 189 - }; 189 + } 190 190 } 191 191 EXPORT_SYMBOL(sbusfb_ioctl_helper); 192 192
+1 -1
drivers/video/sysimgblt.c
··· 152 152 } 153 153 shift += bpp; 154 154 shift &= (32 - 1); 155 - if (!l) { l = 8; s++; }; 155 + if (!l) { l = 8; s++; } 156 156 } 157 157 158 158 /* write trailing bits */
+2 -2
drivers/video/tcx.c
··· 232 232 233 233 case FB_BLANK_POWERDOWN: /* Poweroff */ 234 234 break; 235 - }; 235 + } 236 236 237 237 sbus_writel(val, &thc->thc_misc); 238 238 ··· 434 434 default: 435 435 j = i; 436 436 break; 437 - }; 437 + } 438 438 par->mmap_map[i].poff = op->resource[j].start; 439 439 } 440 440
+1 -1
drivers/video/vt8500lcdfb.c
··· 365 365 if (!fb_mem_virt) { 366 366 pr_err("%s: Failed to allocate framebuffer\n", __func__); 367 367 return -ENOMEM; 368 - }; 368 + } 369 369 370 370 fbi->fb.fix.smem_start = fb_mem_phys; 371 371 fbi->fb.fix.smem_len = fb_mem_len;