drivers/aspeed/ast2050: Remove variable set but not used

Change-Id: Iedda92edf8c4eb7be037dcc0faa6fe8aa0c0754c
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32945
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
Elyes HAOUAS 2019-05-22 21:05:24 +02:00 committed by Patrick Georgi
parent 19cb6c9980
commit 1a7623bc1a
1 changed files with 1 additions and 2 deletions

View File

@ -37,13 +37,12 @@ static void aspeed_ast2050_set_resources(struct device *dev)
static void aspeed_ast2050_init(struct device *dev) static void aspeed_ast2050_init(struct device *dev)
{ {
u8 ret;
struct drm_device drm_dev; struct drm_device drm_dev;
drm_dev.pdev = dev; drm_dev.pdev = dev;
printk(BIOS_INFO, "ASpeed AST2050: initializing video device\n"); printk(BIOS_INFO, "ASpeed AST2050: initializing video device\n");
ret = ast_driver_load(&drm_dev, 0); ast_driver_load(&drm_dev, 0);
/* Unlock extended configuration registers */ /* Unlock extended configuration registers */
outb(0x80, 0x3d4); outb(0xa8, 0x3d5); outb(0x80, 0x3d4); outb(0xa8, 0x3d5);