diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2019-05-22 21:05:24 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-06-03 13:29:26 +0000 |
commit | 1a7623bc1a76126c90c77ca27f27f2cba5ccae05 (patch) | |
tree | 2210f9919d96e6e801e0a7a127935f965a19e189 /src/drivers | |
parent | 19cb6c9980f86bb602c988f48dbf20413f2c27bf (diff) |
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>
Diffstat (limited to 'src/drivers')
-rw-r--r-- | src/drivers/aspeed/ast2050/ast2050.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/drivers/aspeed/ast2050/ast2050.c b/src/drivers/aspeed/ast2050/ast2050.c index 631372d428..21af5c7c80 100644 --- a/src/drivers/aspeed/ast2050/ast2050.c +++ b/src/drivers/aspeed/ast2050/ast2050.c @@ -37,13 +37,12 @@ static void aspeed_ast2050_set_resources(struct device *dev) static void aspeed_ast2050_init(struct device *dev) { - u8 ret; struct drm_device drm_dev; drm_dev.pdev = dev; 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 */ outb(0x80, 0x3d4); outb(0xa8, 0x3d5); |