From 6ab6ab0cfc22a2956d5cf8524944b7bedb8e5528 Mon Sep 17 00:00:00 2001 From: Patrick Wildt Date: Sat, 21 Jan 2017 08:45:46 +0000 Subject: arm64 does not make use of constab but instead uses the same mechanism as armv7. Remove it so no one starts to believe we would do it that way. --- sys/arch/arm64/arm64/conf.c | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'sys') diff --git a/sys/arch/arm64/arm64/conf.c b/sys/arch/arm64/arm64/conf.c index a704a360a9d..d481499b2fa 100644 --- a/sys/arch/arm64/arm64/conf.c +++ b/sys/arch/arm64/arm64/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.2 2017/01/10 13:00:57 patrick Exp $ */ +/* $OpenBSD: conf.c,v 1.3 2017/01/21 08:45:45 patrick Exp $ */ /* * Copyright (c) 1994, 1995 Charles M. Hannum. All rights reserved. @@ -370,18 +370,3 @@ dev_rawpart(struct device *dv) return (NODEV); } - -#include - -cons_decl(com); -cons_decl(ws); - -struct consdev constab[] = { -#if NWSDISPLAY > 0 - cons_init(ws), -#endif -#if NCOM > 0 - cons_init(com), -#endif - { 0 }, -}; -- cgit v1.2.3