]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/ttm: Remove unnecessary '0' values from ret
authorLi zeming <zeming@nfschina.com>
Wed, 7 Sep 2022 03:29:34 +0000 (11:29 +0800)
committerChristian König <christian.koenig@amd.com>
Wed, 7 Sep 2022 07:42:57 +0000 (09:42 +0200)
commite6643298aac0d9d77696513722c85d7808e4c84a
tree46d84eefa6aed901ae52c40a1732ecf49df3c640
parent5e1bfb277d3b87bc580735564eb487c0be3848b3
drm/ttm: Remove unnecessary '0' values from ret

The variable ret is assigned in the judgment branch statement, he does
not need to initialize the assignment.

Signed-off-by: Li zeming <zeming@nfschina.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220907032934.4490-1-zeming@nfschina.com
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
include/drm/ttm/ttm_bo_driver.h