diff options
| author | 2025-12-21 16:13:48 +0100 | |
|---|---|---|
| committer | 2026-01-10 14:21:52 -0500 | |
| commit | 9858810e62ca6a85bd2e7795a92e00a4ffa1c545 (patch) | |
| tree | be92695917144b3abb2fe2c263413e549e444e38 /samples/kobject/ssh:/git@git.zx2c4.com | |
| parent | drm/amdgpu: Drop MMIO_REMAP domain bit and keep it Internal (diff) | |
drm/amdgpu: Slightly simplify base_addr_show()
sysfs_emit_at() never returns a negative error code. It returns 0 or the
number of characters written in the buffer.
Remove the useless tests. This simplifies the logic and saves a few lines
of code.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'samples/kobject/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
