diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2023-06-21 14:53:38 +0200 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2023-06-27 14:26:29 +0200 |
commit | a980cac8368b040d00f59f629b94624f8c559d54 (patch) | |
tree | d6d4a9242539baa4080333b351af0317c88f21d6 /drivers/gpu/drm/ast/ast_main.c | |
parent | 1da14d57526874cefcda494c0d550eeee4f5104e (diff) |
drm/ast: Remove dead else branch in POST code
According to the chip detection in ast_detect_chip(), AST2300 and
later always have a PCI revision of 0x20 or higher. Therefore the
code in ast_set_def_ext_reg() can not use the else branch when
selecing the EXT register values. Remove the dead branch and the
related values.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Tested-by: Jocelyn Falempe <jfalempe@redhat.com> # AST2600
Link: https://patchwork.freedesktop.org/patch/msgid/20230621130032.3568-5-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu/drm/ast/ast_main.c')
0 files changed, 0 insertions, 0 deletions