]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Remove accidentally added small unused hunk.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Tue, 19 Jan 2021 09:32:44 +0000 (10:32 +0100)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Tue, 19 Jan 2021 10:18:39 +0000 (11:18 +0100)
commitf044fdb28e6259314a07783ef896a0d33ab81991
tree71cd1856fc35dce6a2d9e944b77bb449f5cf51f4
parentfc2cbd2e66ac4c37853b9c9bd888c97347f8f5a3
drm/amdgpu: Remove accidentally added small unused hunk.

Commit 794d8d0b145e ("drm/amdgpu: Remove references to struct drm_device.pdev")
accidentally adds an initialization of adev, which isn't used anywhere. This
caused a compiler warning on the unused variable, remove it.

Fixes: 794d8d0b145e ("drm/amdgpu: Remove references to struct drm_device.pdev")
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Christian König <christian.koenig@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c