summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2025-12-21 16:13:48 +0100
committerAlex Deucher <alexander.deucher@amd.com>2026-01-10 14:21:52 -0500
commit9858810e62ca6a85bd2e7795a92e00a4ffa1c545 (patch)
treebe92695917144b3abb2fe2c263413e549e444e38 /kernel
parent96e97a562d067a6d867862db79864cc66aae99c2 (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 'kernel')
0 files changed, 0 insertions, 0 deletions