svn commit: r258697 - head/sys/powerpc/pseries

Nathan Whitehorn nwhitehorn at FreeBSD.org
Wed Nov 27 22:02:55 UTC 2013


Author: nwhitehorn
Date: Wed Nov 27 22:02:55 2013
New Revision: 258697
URL: http://svnweb.freebsd.org/changeset/base/258697

Log:
  This driver doesn't need the /options node, so don't check for it.

Modified:
  head/sys/powerpc/pseries/phyp_console.c

Modified: head/sys/powerpc/pseries/phyp_console.c
==============================================================================
--- head/sys/powerpc/pseries/phyp_console.c	Wed Nov 27 22:01:09 2013	(r258696)
+++ head/sys/powerpc/pseries/phyp_console.c	Wed Nov 27 22:02:55 2013	(r258697)
@@ -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;
 


More information about the svn-src-all mailing list