summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/pseries
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2013-11-27 22:02:55 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2013-11-27 22:02:55 +0000
commitfa0b31d8b150f1260a8b9f146cfdc908aa068f0a (patch)
treeb074bfc33c7fe34f3818fec47b839743e40a603a /sys/powerpc/pseries
parentb777ab82ba9610567ad7a93335807fbe1446217b (diff)
downloadFreeBSD-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/powerpc/pseries')
-rw-r--r--sys/powerpc/pseries/phyp_console.c4
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;
OpenPOWER on IntegriCloud