Commit f0426b4e authored by Wan Jiabing's avatar Wan Jiabing Committed by Greg Kroah-Hartman
Browse files

tty/hvc_opal: simplify if-if to if-else

parent 8043b16f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -342,9 +342,9 @@ void __init hvc_opal_init_early(void)
		 * path, so we hard wire it
		 */
		opal = of_find_node_by_path("/ibm,opal/consoles");
		if (opal)
		if (opal) {
			pr_devel("hvc_opal: Found consoles in new location\n");
		if (!opal) {
		} else {
			opal = of_find_node_by_path("/ibm,opal");
			if (opal)
				pr_devel("hvc_opal: "