From 209299a97dfbfc10b4418bab94ca786e27e99e5a Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Wed, 18 May 2016 06:49:29 +0000 Subject: Remove unused probe function. ok patrick@ --- sys/arch/armv7/imx/imxuart.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'sys') diff --git a/sys/arch/armv7/imx/imxuart.c b/sys/arch/armv7/imx/imxuart.c index f66cbacec55..54fbb777ee4 100644 --- a/sys/arch/armv7/imx/imxuart.c +++ b/sys/arch/armv7/imx/imxuart.c @@ -1,4 +1,4 @@ -/* $OpenBSD: imxuart.c,v 1.3 2015/05/12 02:49:48 jsg Exp $ */ +/* $OpenBSD: imxuart.c,v 1.4 2016/05/18 06:49:28 kettenis Exp $ */ /* * Copyright (c) 2005 Dale Rahn * @@ -84,7 +84,6 @@ struct imxuart_softc { }; -int imxuartprobe(struct device *parent, void *self, void *aux); void imxuartattach(struct device *parent, struct device *self, void *aux); void imxuartcnprobe(struct consdev *cp); @@ -115,7 +114,7 @@ struct cfdriver imxuart_cd = { }; struct cfattach imxuart_ca = { - sizeof(struct imxuart_softc), imxuartprobe, imxuartattach + sizeof(struct imxuart_softc), NULL, imxuartattach }; bus_space_tag_t imxuartconsiot; @@ -124,12 +123,6 @@ bus_addr_t imxuartconsaddr; tcflag_t imxuartconscflag = TTYDEF_CFLAG; int imxuartdefaultrate = B115200; -int -imxuartprobe(struct device *parent, void *self, void *aux) -{ - return 1; -} - struct cdevsw imxuartdev = cdev_tty_init(3/*XXX NIMXUART */ ,imxuart); /* 12: serial port */ -- cgit v1.2.3