summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2016-05-18 06:49:29 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2016-05-18 06:49:29 +0000
commit209299a97dfbfc10b4418bab94ca786e27e99e5a (patch)
tree6bbb87a028ad4d12a78ed7e04e9a47daee5c580d /sys
parent65a4ce14c9b380be149096a50924defefef7287f (diff)
Remove unused probe function.
ok patrick@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/armv7/imx/imxuart.c11
1 files changed, 2 insertions, 9 deletions
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 <drahn@motorola.com>
*
@@ -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 */