# linux-next: build warning after merge of the amdgpu tree

- From: Stephen Rothwell \<hidden\>
- Date: 2021-02-24 00:31:38 
- List: linux-next
- Page: https://ratatoskr.run/linux-next/2021/02/6277209
- Thread: https://ratatoskr.run/linux-next/2021/02/6277209/t.md

```text
Hi all,

After merging the amdgpu tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c: In function 'dm_set_vblank':
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:5439:33: warning: unused variable 'dm' [-Wunused-variable]
 5439 |  struct amdgpu_display_manager *dm = &adev->dm;
      |                                 ^~

Introduced by commit

  3cfd14b67b2c ("drm/amd/display: Fix system hang after multiple hotplugs (v2)")

-- 
Cheers,
Stephen Rothwell
```

## Attachments

- [(unnamed)](https://ratatoskr.run/linux-next/2021/02/6277209/attachment/0) (application/pgp-signature, 488 bytes)
