From 87de756e9f232f2358e98fcc4a4b43ad87ddea65 Mon Sep 17 00:00:00 2001 From: jsg Date: Mon, 11 Sep 2023 04:51:24 +0000 Subject: [PATCH] remove unused rkdrm_ports tailq ok kettenis@ --- sys/dev/fdt/rkdrm.c | 5 +---- sys/dev/fdt/rkdrm.h | 8 +------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/sys/dev/fdt/rkdrm.c b/sys/dev/fdt/rkdrm.c index 824ce12450d..2680709b248 100644 --- a/sys/dev/fdt/rkdrm.c +++ b/sys/dev/fdt/rkdrm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rkdrm.c,v 1.16 2023/09/10 06:25:09 jsg Exp $ */ +/* $OpenBSD: rkdrm.c,v 1.17 2023/09/11 04:51:24 jsg Exp $ */ /* $NetBSD: rk_drm.c,v 1.3 2019/12/15 01:00:58 mrg Exp $ */ /*- * Copyright (c) 2019 Jared D. McNeill @@ -47,9 +47,6 @@ #define RK_DRM_MAX_WIDTH 3840 #define RK_DRM_MAX_HEIGHT 2160 -TAILQ_HEAD(, rkdrm_ports) rkdrm_ports = - TAILQ_HEAD_INITIALIZER(rkdrm_ports); - int rkdrm_match(struct device *, void *, void *); void rkdrm_attach(struct device *, struct device *, void *); void rkdrm_attachhook(struct device *); diff --git a/sys/dev/fdt/rkdrm.h b/sys/dev/fdt/rkdrm.h index 380f996a86d..b7aed7b37da 100644 --- a/sys/dev/fdt/rkdrm.h +++ b/sys/dev/fdt/rkdrm.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rkdrm.h,v 1.3 2023/01/01 01:34:33 jsg Exp $ */ +/* $OpenBSD: rkdrm.h,v 1.4 2023/09/11 04:51:24 jsg Exp $ */ /* $NetBSD: rk_drm.h,v 1.1 2019/11/09 23:30:14 jmcneill Exp $ */ /*- * Copyright (c) 2019 Jared D. McNeill @@ -86,12 +86,6 @@ struct rkdrm_framebuffer { struct drm_gem_dma_object *obj; }; -struct rkdrm_ports { - int phandle; - struct drm_device *ddev; - TAILQ_ENTRY(rkdrm_ports) entries; -}; - struct rkdrm_fbdev { struct drm_fb_helper helper; }; -- 2.20.1