[PATCH 3/5] bsps: Do not use printk() in shared console driver

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Jun 20 10:06:10 UTC 2013


---
 c/src/lib/libbsp/shared/console_select.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/c/src/lib/libbsp/shared/console_select.c b/c/src/lib/libbsp/shared/console_select.c
index 4803a8f..3927487 100644
--- a/c/src/lib/libbsp/shared/console_select.c
+++ b/c/src/lib/libbsp/shared/console_select.c
@@ -92,10 +92,6 @@ void bsp_console_select(void)
    * let the user know and select the first available device.
    */
   if ( !bsp_Is_Available( Console_Port_Minor ) ) {
-    printk(
-      "Error finding %s setting console to first available\n",
-      Console_Port_Tbl[Console_Port_Minor]->sDeviceName
-    );
     Console_Port_Minor = bsp_First_Available_Device();
   }
 }
-- 
1.7.7




More information about the devel mailing list