Commit 30fe33f2 authored by Thomas Zimmermann's avatar Thomas Zimmermann

drm/ast: Remove vga2_clone field

Remove the unused field vga2_clone from struct ast_device. No
functional changes.
Signed-off-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: default avatarSui Jingfeng <suijingfeng@loongson.cn>
Reviewed-by: default avatarJocelyn Falempe <jfalempe@redhat.com>
Tested-by: Jocelyn Falempe <jfalempe@redhat.com> # AST2600
Link: https://patchwork.freedesktop.org/patch/msgid/20230621130032.3568-3-tzimmermann@suse.de
parent 4cfe75f0
...@@ -166,7 +166,6 @@ struct ast_device { ...@@ -166,7 +166,6 @@ struct ast_device {
void __iomem *dp501_fw_buf; void __iomem *dp501_fw_buf;
enum ast_chip chip; enum ast_chip chip;
bool vga2_clone;
uint32_t dram_bus_width; uint32_t dram_bus_width;
uint32_t dram_type; uint32_t dram_type;
uint32_t mclk; uint32_t mclk;
......
...@@ -179,7 +179,6 @@ static int ast_detect_chip(struct drm_device *dev, bool *need_post) ...@@ -179,7 +179,6 @@ static int ast_detect_chip(struct drm_device *dev, bool *need_post)
drm_info(dev, "AST 2100 detected\n"); drm_info(dev, "AST 2100 detected\n");
break; break;
} }
ast->vga2_clone = false;
} else { } else {
ast->chip = AST2000; ast->chip = AST2000;
drm_info(dev, "AST 2000 detected\n"); drm_info(dev, "AST 2000 detected\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment