summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2023-12-23 22:40:43 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2023-12-23 22:40:43 +0000
commit16fab643bdac3aea9e6fc751331061f8be8f5f04 (patch)
tree135a53c3e281fe943119c74600cc77e4ace97e06 /sys
parent91b4b409e70fd4dacc382b6aed8409423a5b5f92 (diff)
Remove unused variables.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/fdt/rkdrm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/fdt/rkdrm.c b/sys/dev/fdt/rkdrm.c
index 2680709b248..de5fc71eb93 100644
--- a/sys/dev/fdt/rkdrm.c
+++ b/sys/dev/fdt/rkdrm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rkdrm.c,v 1.17 2023/09/11 04:51:24 jsg Exp $ */
+/* $OpenBSD: rkdrm.c,v 1.18 2023/12/23 22:40:42 kettenis Exp $ */
/* $NetBSD: rk_drm.c,v 1.3 2019/12/15 01:00:58 mrg Exp $ */
/*-
* Copyright (c) 2019 Jared D. McNeill <jmcneill@invisible.ca>
@@ -345,8 +345,6 @@ rkdrm_doswitch(void *v)
{
struct rasops_info *ri = v;
struct rkdrm_softc *sc = ri->ri_hw;
- struct rkdrm_crtc *rkdrm_crtc;
- int i, crtc;
rasops_show_screen(ri, sc->switchcookie, 0, NULL, NULL);
drm_fb_helper_restore_fbdev_mode_unlocked(&sc->helper);