[rtems-libbsd commit] telnetd: Avoid rtems_bsdnet_config

Sebastian Huber sebh at rtems.org
Thu Sep 18 07:47:48 UTC 2014


Module:    rtems-libbsd
Branch:    master
Commit:    b78c1d27f3dddfa475ff6c8a7e6ab22317a95715
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=b78c1d27f3dddfa475ff6c8a7e6ab22317a95715

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Sep 18 09:47:57 2014 +0200

telnetd: Avoid rtems_bsdnet_config

---

 rtemsbsd/telnetd/telnetd.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/rtemsbsd/telnetd/telnetd.c b/rtemsbsd/telnetd/telnetd.c
index 70ccbe1..50fbe3b 100644
--- a/rtemsbsd/telnetd/telnetd.c
+++ b/rtemsbsd/telnetd/telnetd.c
@@ -305,9 +305,6 @@ rtems_status_code rtems_telnetd_initialize( void)
   }
 
   /* Check priority */
-  if (rtems_telnetd_config.priority <= 0) {
-    rtems_telnetd_config.priority = rtems_bsdnet_config.network_task_priority;
-  }
   if (rtems_telnetd_config.priority < 2) {
     rtems_telnetd_config.priority = 100;
   }



More information about the vc mailing list