[rtems commit] telnetd: Remove dead code

Sebastian Huber sebh at rtems.org
Mon Oct 1 10:34:45 UTC 2018


Module:    rtems
Branch:    master
Commit:    8e0755405c8ee4d54f91c691803bb26f96b2ea83
Changeset: http://git.rtems.org/rtems/commit/?id=8e0755405c8ee4d54f91c691803bb26f96b2ea83

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Sep 26 09:17:55 2018 +0200

telnetd: Remove dead code

---

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

diff --git a/cpukit/telnetd/telnetd.c b/cpukit/telnetd/telnetd.c
index 3e5b87c..86ed8b4 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(




More information about the vc mailing list