]> www.infradead.org Git - users/hch/misc.git/commit
drm/radeon/uvd: Replace nested max() with single max3()
authorFengWei <feng.wei8@zte.com.cn>
Mon, 17 Mar 2025 02:57:45 +0000 (10:57 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 19 Mar 2025 19:51:40 +0000 (15:51 -0400)
commit5199e8ac07f0d5f2013afc05ffc7781b45b3ba12
tree6b767ea4d45281ccd7e7f5c96ad58d9ed2f71abe
parent0d9a95099dcb05b5f4719c830d15bf4fdcad0dc2
drm/radeon/uvd: Replace nested max() with single max3()

Use max3() macro instead of nesting max() to simplify the return
statement.

Signed-off-by: FengWei <feng.wei8@zte.com.cn>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_uvd.c