diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2024-09-11 14:51:26 +0300 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2024-09-13 16:41:17 +0300 |
commit | 197c441bfd267f9fe988934f69e2c529cd0f0a63 (patch) | |
tree | dfff09fa331b64228a73f0a79a40af4bd15a6bab /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 6fefb82efb6c55ec279cbae378e4e49dcc82006c (diff) | |
download | linux-197c441bfd267f9fe988934f69e2c529cd0f0a63.tar.xz |
drm/ast: vga: Inline ast_vga_connector_init()
Inline ast_vga_connector_init() into its only caller. The helper
currently only does half of the connector-init work and is trivial
enough to be inlined. While at it, remove the error message from the
call to ast_ddc_create(). The function already warns on errors.
Also set the local variables for encoder and connector as late as
possible, so that the compiler warns if we use them before having
initialized the instance.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240911115347.899148-9-tzimmermann@suse.de
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions