[PATCH 4/5] bsps: Remove debug output in shared console driver

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


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

diff --git a/c/src/lib/libbsp/shared/console.c b/c/src/lib/libbsp/shared/console.c
index 7aba7ac..9780bf4 100644
--- a/c/src/lib/libbsp/shared/console.c
+++ b/c/src/lib/libbsp/shared/console.c
@@ -294,10 +294,6 @@ rtems_device_driver console_initialize(
       }
 
       if (minor == Console_Port_Minor) {
-#if defined(RTEMS_DEBUG)
-          if (port->sDeviceName != NULL)
-            printk( "Register %s as the CONSOLE\n", port->sDeviceName );
-#endif
         status = rtems_io_register_name( "dev/console", major, minor );
         if (status != RTEMS_SUCCESSFUL) {
           bsp_generic_fatal( BSP_GENERIC_FATAL_CONSOLE_REGISTER_DEV_1 );
-- 
1.7.7




More information about the devel mailing list