Skip to content

Commit 10d9b4e

Browse files
Damien Lespiauairlied
authored andcommitted
drm: Remove spurious ';'
One small step after another, the never-ending crusade towards better code continues. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
1 parent 5974861 commit 10d9b4e

7 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎drivers/gpu/drm/ast/ast_post.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1083,7 +1083,7 @@ static void get_ddr3_info(struct ast_private *ast, struct ast2300_dram_param *pa
10831083
case AST_DRAM_4Gx16:
10841084
param->dram_config = 0x133;
10851085
break;
1086-
}; /* switch size */
1086+
} /* switch size */
10871087

10881088
switch (param->vram_size) {
10891089
default:
@@ -1454,7 +1454,7 @@ static void get_ddr2_info(struct ast_private *ast, struct ast2300_dram_param *pa
14541454
case AST_DRAM_4Gx16:
14551455
param->dram_config = 0x123;
14561456
break;
1457-
}; /* switch size */
1457+
} /* switch size */
14581458

14591459
switch (param->vram_size) {
14601460
default:

‎drivers/gpu/drm/exynos/exynos_dp_core.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1087,7 +1087,7 @@ static void exynos_dp_dpms(struct exynos_drm_display *display, int mode)
10871087
break;
10881088
default:
10891089
break;
1090-
};
1090+
}
10911091
dp->dpms_mode = mode;
10921092
}
10931093

‎drivers/gpu/drm/exynos/exynos_drm_dpi.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ static void exynos_dpi_dpms(struct exynos_drm_display *display, int mode)
152152
break;
153153
default:
154154
break;
155-
};
155+
}
156156
ctx->dpms_mode = mode;
157157
}
158158

‎drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ static int handle_dsi_error(struct mdfld_dsi_pkg_sender *sender, u32 mask)
148148
break;
149149
case BIT(14):
150150
/*wait for all fifo empty*/
151-
/*wait_for_all_fifos_empty(sender)*/;
151+
/*wait_for_all_fifos_empty(sender)*/
152152
break;
153153
case BIT(15):
154154
dev_dbg(sender->dev->dev, "No Action required\n");

‎drivers/gpu/drm/nouveau/core/engine/graph/ctxnvf0.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@ nvf0_grctx_generate_mods(struct nvc0_graph_priv *priv, struct nvc0_grctx *info)
842842
u16 magic3 = 0x0648;
843843
magic[gpc][0] = 0x10000000 | (magic0 << 16) | offset;
844844
magic[gpc][1] = 0x00000000 | (magic1 << 16);
845-
offset += 0x0324 * (priv->tpc_nr[gpc] - 1);;
845+
offset += 0x0324 * (priv->tpc_nr[gpc] - 1);
846846
magic[gpc][2] = 0x10000000 | (magic2 << 16) | offset;
847847
magic[gpc][3] = 0x00000000 | (magic3 << 16);
848848
offset += 0x0324;

‎drivers/gpu/drm/nouveau/core/engine/graph/nv50.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,7 @@ nv50_graph_ctor(struct nouveau_object *parent, struct nouveau_object *engine,
901901
nv_engine(priv)->sclass = nvaf_graph_sclass;
902902
break;
903903

904-
};
904+
}
905905

906906
/* unfortunate hw bug workaround... */
907907
if (nv_device(priv)->chipset != 0x50 &&

‎drivers/gpu/drm/radeon/radeon_bios.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ static bool radeon_acpi_vfct_bios(struct radeon_device *rdev)
626626
vhdr->DeviceID != rdev->pdev->device) {
627627
DRM_INFO("ACPI VFCT table is not for this card\n");
628628
goto out_unmap;
629-
};
629+
}
630630

631631
if (vfct->VBIOSImageOffset + sizeof(VFCT_IMAGE_HEADER) + vhdr->ImageLength > tbl_size) {
632632
DRM_ERROR("ACPI VFCT image truncated\n");

0 commit comments

Comments
 (0)