[PATCH 4/6] telnetd: Remove dead code

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Sep 26 08:30:46 UTC 2018


---
 cpukit/telnetd/telnetd.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/cpukit/telnetd/telnetd.c b/cpukit/telnetd/telnetd.c
index 3e5b87ca0b..86ed8b4090 100644
--- a/cpukit/telnetd/telnetd.c
+++ b/cpukit/telnetd/telnetd.c
@@ -396,13 +396,6 @@ spawned_shell(void *targ)
   stdout = nstd[1];
   stderr = nstd[2];
 
-  #if 0
-    printk("STDOUT is now %x (%x) (FD %i/%i)\n",
-           stdout,nstd[1],fileno(stdout),fileno(nstd[1]));
-    printf("hello\n");
-    write(fileno(stdout),"hellofd\n",8);
-  #endif
-
   /* call their routine */
   if (telnetd_config->login_check != NULL) {
     start = rtems_shell_login_prompt(
-- 
2.16.4




More information about the devel mailing list