diff options
| author | Mario Limonciello <mario.limonciello@amd.com> | 2023-07-18 21:02:58 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2023-07-21 23:52:24 +0300 |
| commit | adf64e214280a0230af0638c1825b3812421c958 (patch) | |
| tree | f1c919a426664a2c80c1d2e3638f703441659569 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 18cf073faaa9467d92164dbd4722cf775766860a (diff) | |
| download | linux-adf64e214280a0230af0638c1825b3812421c958.tar.xz | |
drm/amd: Avoid reading the VBIOS part number twice
The VBIOS part number is read both in amdgpu_atom_parse() as well
as in atom_get_vbios_pn() and stored twice in the `struct atom_context`
structure. Remove the first unnecessary read and move the `pr_info`
line from that read into the second.
v2: squash in unused variable removal
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
