[igt-dev] [PATCH i-g-t] lib/igt_kms: remove unused update_edid_csum
Ser, Simon
simon.ser at intel.com
Mon Jul 15 08:25:52 UTC 2019
cc Arek, Martin
On Thu, 2019-07-11 at 17:43 +0000, contact at emersion.fr wrote:
> From: Simon Ser <contact at emersion.fr>
>
> I missed it when removing the old EDID generation code.
>
> Signed-off-by: Simon Ser <contact at emersion.fr>
> ---
> lib/igt_kms.c | 18 ------------------
> 1 file changed, 18 deletions(-)
>
> diff --git a/lib/igt_kms.c b/lib/igt_kms.c
> index 8a76acf9e8e4..175e71c310b7 100644
> --- a/lib/igt_kms.c
> +++ b/lib/igt_kms.c
> @@ -87,24 +87,6 @@
> static char *forced_connectors[MAX_CONNECTORS + 1];
> static int forced_connectors_device[MAX_CONNECTORS + 1];
>
> -static void update_edid_csum(unsigned char *edid, int cea_pos)
> -{
> - int i, sum = 0;
> - struct tm *tm;
> - time_t t;
> -
> - /* year of manufacture */
> - t = time(NULL);
> - tm = localtime(&t);
> - edid[17] = tm->tm_year - 90;
> -
> - /* calculate checksum */
> - for (i = 0; i < 127; i++) {
> - sum = sum + edid[cea_pos + i];
> - }
> - edid[cea_pos + 127] = 256 - sum;
> -}
> -
> /**
> * igt_kms_get_base_edid:
> *
> --
> 2.22.0
>
>
> _______________________________________________
> igt-dev mailing list
> igt-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev
More information about the igt-dev
mailing list