[Intel-gfx] [PATCH 2/2] drm/i915: remove dead code
Daniel Vetter
daniel at ffwll.ch
Mon Feb 29 17:07:36 UTC 2016
On Mon, Feb 29, 2016 at 04:24:07PM +0000, Eric Engestrom wrote:
> 79e539453b34e35f39299a899d263b0a1f1670bd ("DRM: i915: add mode setting
> support") added those variables but never used them.
>
> Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Both applied for 4.7, thanks.
-Daniel
> ---
> drivers/gpu/drm/i915/intel_tv.c | 12 ------------
> 1 file changed, 12 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_tv.c b/drivers/gpu/drm/i915/intel_tv.c
> index 948cbff..14f0b41 100644
> --- a/drivers/gpu/drm/i915/intel_tv.c
> +++ b/drivers/gpu/drm/i915/intel_tv.c
> @@ -326,24 +326,12 @@ static const struct color_conversion sdtv_csc_yprpb = {
> .rv = 0x0100, .gv = 0x03ad, .bv = 0x074d, .av = 0x0200,
> };
>
> -static const struct color_conversion sdtv_csc_rgb = {
> - .ry = 0x0000, .gy = 0x0f00, .by = 0x0000, .ay = 0x0166,
> - .ru = 0x0000, .gu = 0x0000, .bu = 0x0f00, .au = 0x0166,
> - .rv = 0x0f00, .gv = 0x0000, .bv = 0x0000, .av = 0x0166,
> -};
> -
> static const struct color_conversion hdtv_csc_yprpb = {
> .ry = 0x05b3, .gy = 0x016e, .by = 0x0728, .ay = 0x0145,
> .ru = 0x07d5, .gu = 0x038b, .bu = 0x0100, .au = 0x0200,
> .rv = 0x0100, .gv = 0x03d1, .bv = 0x06bc, .av = 0x0200,
> };
>
> -static const struct color_conversion hdtv_csc_rgb = {
> - .ry = 0x0000, .gy = 0x0f00, .by = 0x0000, .ay = 0x0166,
> - .ru = 0x0000, .gu = 0x0000, .bu = 0x0f00, .au = 0x0166,
> - .rv = 0x0f00, .gv = 0x0000, .bv = 0x0000, .av = 0x0166,
> -};
> -
> static const struct video_levels component_levels = {
> .blank = 279, .black = 279, .burst = 0,
> };
> --
> 2.7.1
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
More information about the Intel-gfx
mailing list