diff options
| author | Hanjun Guo <[email protected]> | 2020-07-21 09:59:05 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2020-07-27 13:19:12 +0000 |
| commit | 1c60f91c319d55058da3a0f6a361b6e6ee6b8c58 (patch) | |
| tree | 0d026fdfc559cbacd1e405b1f4912a6dea51daf1 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | ACPI: tables: Remove the duplicated checks for acpi_parse_entries_array() (diff) | |
| download | kernel-1c60f91c319d55058da3a0f6a361b6e6ee6b8c58.tar.gz kernel-1c60f91c319d55058da3a0f6a361b6e6ee6b8c58.zip | |
ACPI: NUMA: Remove the useless sub table pointer check
In acpi_parse_entries_array(), the subtable entries (entry.hdr)
will never be NULL, so for ACPI subtable handler in struct
acpi_subtable_proc, will never handle NULL subtable entries.
Remove those useless subtable pointer checks in the callback
handlers.
Signed-off-by: Hanjun Guo <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
