drm/amdgpu: remove set but not used variable 'header'
authorYueHaibing <yuehaibing@huawei.com>
Wed, 26 Sep 2018 14:15:34 +0000 (14:15 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Oct 2018 19:49:43 +0000 (14:49 -0500)
commitf667dc38aacf353b017aac165d488404253f3c74
tree87d418f8042f920c9c1e4d1b8fd12175c2dd892a
parent50325c0be109c7f2f21d6d66f31baed46a0c3443
drm/amdgpu: remove set but not used variable 'header'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c: In function 'amdgpu_ucode_init_bo':
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:431:39: warning:
 variable 'header' set but not used [-Wunused-but-set-variable]

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c