drm/amdgpu: ifdef unused var
Subsystems (2)
PATCH 1/1 drm/amdgpu: ifdef unused var
Code that's using it is guarded with #if 0. Do the same for unused var.
--- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +2 -0
@@ -806,7 +806,9 @@ static int gmc_v9_0_gart_init(struct amdgpu_device *adev)static unsigned gmc_v9_0_get_vbios_fb_size (struct amdgpu_device *adev) { +#if 0 u32 d1vga_control =RREG32_SOC15 (DCE ,0 , mmD1VGA_CONTROL); +#endif unsigned size;/*
Signature · 6 lines
2.17.0 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 20180417142514.3118-1-harry.wentland-5C7GfCeVMHo@public.gmane.org
Deucher, Alexander
Reviewed-by________________________________
From: amd-gfx <amd-gfx-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org> on behalf of Harry Wentland <[email protected]>
Sent: Tuesday, April 17, 2018 10:25:14 AM
To: [email protected]
Cc: Wentland, Harry
Subject: [PATCH] drm/amdgpu: ifdef unused var
Code that's using it is guarded with #if 0. Do the same for unused var.
--- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +2 -0
@@ -806,7 +806,9 @@ static int gmc_v9_0_gart_init(struct amdgpu_device *adev)static unsigned gmc_v9_0_get_vbios_fb_size (struct amdgpu_device *adev) { +#if 0 u32 d1vga_control =RREG32_SOC15 (DCE ,0 , mmD1VGA_CONTROL); +#endif unsigned size;/*
--
2.17.0
_______________________________________________
amd-gfx mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx