diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2415-amdgpu-dc-drop-dc_ver-char.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2415-amdgpu-dc-drop-dc_ver-char.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2415-amdgpu-dc-drop-dc_ver-char.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2415-amdgpu-dc-drop-dc_ver-char.patch new file mode 100644 index 00000000..9a11e51a --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2415-amdgpu-dc-drop-dc_ver-char.patch @@ -0,0 +1,29 @@ +From 1f6b42d76fe290c65226a4741bcb71b06e9101b2 Mon Sep 17 00:00:00 2001 +From: Dave Airlie <airlied@redhat.com> +Date: Fri, 29 Sep 2017 10:20:39 +1000 +Subject: [PATCH 2415/4131] amdgpu/dc: drop dc_ver char + +This isn't referenced anywhere, and if it was it should be const. + +Signed-off-by: Dave Airlie <airlied@redhat.com> +Reviewed-by: Harry Wentland <harry.wentland@amd.com> +--- + drivers/gpu/drm/amd/display/dc/core/dc.c | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c +index fe3c711..6e88c1c 100644 +--- a/drivers/gpu/drm/amd/display/dc/core/dc.c ++++ b/drivers/gpu/drm/amd/display/dc/core/dc.c +@@ -49,8 +49,6 @@ + #include "mem_input.h" + + +-char dc_ver[] = DC_VER; +- + /******************************************************************************* + * Private functions + ******************************************************************************/ +-- +2.7.4 + |