mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-30 08:04:13 +08:00
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>
This commit is contained in:
parent
597486164e
commit
10d9b4ed30
@ -1083,7 +1083,7 @@ static void get_ddr3_info(struct ast_private *ast, struct ast2300_dram_param *pa
|
||||
case AST_DRAM_4Gx16:
|
||||
param->dram_config = 0x133;
|
||||
break;
|
||||
}; /* switch size */
|
||||
} /* switch size */
|
||||
|
||||
switch (param->vram_size) {
|
||||
default:
|
||||
@ -1454,7 +1454,7 @@ static void get_ddr2_info(struct ast_private *ast, struct ast2300_dram_param *pa
|
||||
case AST_DRAM_4Gx16:
|
||||
param->dram_config = 0x123;
|
||||
break;
|
||||
}; /* switch size */
|
||||
} /* switch size */
|
||||
|
||||
switch (param->vram_size) {
|
||||
default:
|
||||
|
@ -1087,7 +1087,7 @@ static void exynos_dp_dpms(struct exynos_drm_display *display, int mode)
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
}
|
||||
dp->dpms_mode = mode;
|
||||
}
|
||||
|
||||
|
@ -152,7 +152,7 @@ static void exynos_dpi_dpms(struct exynos_drm_display *display, int mode)
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
}
|
||||
ctx->dpms_mode = mode;
|
||||
}
|
||||
|
||||
|
@ -148,7 +148,7 @@ static int handle_dsi_error(struct mdfld_dsi_pkg_sender *sender, u32 mask)
|
||||
break;
|
||||
case BIT(14):
|
||||
/*wait for all fifo empty*/
|
||||
/*wait_for_all_fifos_empty(sender)*/;
|
||||
/*wait_for_all_fifos_empty(sender)*/
|
||||
break;
|
||||
case BIT(15):
|
||||
dev_dbg(sender->dev->dev, "No Action required\n");
|
||||
|
@ -842,7 +842,7 @@ nvf0_grctx_generate_mods(struct nvc0_graph_priv *priv, struct nvc0_grctx *info)
|
||||
u16 magic3 = 0x0648;
|
||||
magic[gpc][0] = 0x10000000 | (magic0 << 16) | offset;
|
||||
magic[gpc][1] = 0x00000000 | (magic1 << 16);
|
||||
offset += 0x0324 * (priv->tpc_nr[gpc] - 1);;
|
||||
offset += 0x0324 * (priv->tpc_nr[gpc] - 1);
|
||||
magic[gpc][2] = 0x10000000 | (magic2 << 16) | offset;
|
||||
magic[gpc][3] = 0x00000000 | (magic3 << 16);
|
||||
offset += 0x0324;
|
||||
|
@ -901,7 +901,7 @@ nv50_graph_ctor(struct nouveau_object *parent, struct nouveau_object *engine,
|
||||
nv_engine(priv)->sclass = nvaf_graph_sclass;
|
||||
break;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
/* unfortunate hw bug workaround... */
|
||||
if (nv_device(priv)->chipset != 0x50 &&
|
||||
|
@ -626,7 +626,7 @@ static bool radeon_acpi_vfct_bios(struct radeon_device *rdev)
|
||||
vhdr->DeviceID != rdev->pdev->device) {
|
||||
DRM_INFO("ACPI VFCT table is not for this card\n");
|
||||
goto out_unmap;
|
||||
};
|
||||
}
|
||||
|
||||
if (vfct->VBIOSImageOffset + sizeof(VFCT_IMAGE_HEADER) + vhdr->ImageLength > tbl_size) {
|
||||
DRM_ERROR("ACPI VFCT image truncated\n");
|
||||
|
Loading…
Reference in New Issue
Block a user