diff options
author | Arnd Bergmann <arnd@arndb.de> | 2021-01-25 13:48:43 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2021-02-05 09:49:44 +1000 |
commit | 4c3a3292730c56591472717d8c5c0faf74f6c6bb (patch) | |
tree | 1d2e39c7c339dff0ae74052e56e44c41bb9b4b39 /drivers/gpu/drm/i915 | |
parent | c5cb0db5fcce640574f5b73b2b4030b5b60f3700 (diff) | |
download | lwn-4c3a3292730c56591472717d8c5c0faf74f6c6bb.tar.gz lwn-4c3a3292730c56591472717d8c5c0faf74f6c6bb.zip |
drm/amd/display: fix unused variable warning
After all users of the 'dm' warnings got hidden in an #ifdef,
the compiler started warning about it being unused:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:5380:33: error: unused variable 'dm' [-Werror,-Wunused-variable]
Add another such #ifdef.
Fixes: 98ab5f3513f9 ("drm/amd/display: Fix deadlock during gpu reset v3")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210125124849.102037-1-arnd@kernel.org
Diffstat (limited to 'drivers/gpu/drm/i915')
0 files changed, 0 insertions, 0 deletions