diff options
author | 2022-09-02 07:54:50 +0000 | |
---|---|---|
committer | 2022-09-07 22:28:42 -0400 | |
commit | 17048d89913c1713f0549aa47d63f2a4940545e8 (patch) | |
tree | a227f9f3e3b8b25a732faf65cff576bb869b5390 /scripts/generate_rust_analyzer.py | |
parent | drm/amd/display: fix memory leak when using debugfs_lookup() (diff) | |
download | wireguard-linux-17048d89913c1713f0549aa47d63f2a4940545e8.tar.xz wireguard-linux-17048d89913c1713f0549aa47d63f2a4940545e8.zip |
drm/amd/display: Remove the unneeded result variable
Return the enable_link_dp() directly instead of storing it in another
redundant variable.
Reported-by: Zeal Robot <zealci@zte.com.cn>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: zhang songyi <zhang.songyi@zte.com.cn>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions