diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2013-11-27 22:02:55 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2013-11-27 22:02:55 +0000 |
commit | fa0b31d8b150f1260a8b9f146cfdc908aa068f0a (patch) | |
tree | b074bfc33c7fe34f3818fec47b839743e40a603a /sys | |
parent | b777ab82ba9610567ad7a93335807fbe1446217b (diff) | |
download | FreeBSD-src-fa0b31d8b150f1260a8b9f146cfdc908aa068f0a.zip FreeBSD-src-fa0b31d8b150f1260a8b9f146cfdc908aa068f0a.tar.gz |
This driver doesn't need the /options node, so don't check for it.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/powerpc/pseries/phyp_console.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/powerpc/pseries/phyp_console.c b/sys/powerpc/pseries/phyp_console.c index 2434697..79d9094 100644 --- a/sys/powerpc/pseries/phyp_console.c +++ b/sys/powerpc/pseries/phyp_console.c @@ -192,11 +192,9 @@ uart_phyp_cnprobe(struct consdev *cp) { char buf[64]; ihandle_t stdout; - phandle_t input, opts, chosen; + phandle_t input, chosen; static struct uart_phyp_softc sc; - if ((opts = OF_finddevice("/options")) == -1) - goto fail; if ((chosen = OF_finddevice("/chosen")) == -1) goto fail; |