From: Philip Homburg Date: Wed, 31 Aug 2005 14:20:49 +0000 (+0000) Subject: Less debug output X-Git-Tag: v3.1.0~228 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/Bv9ARM.ch10.html?a=commitdiff_plain;h=4d3e6660436e6c1ecf10e47000a440b7dd7e0494;p=minix.git Less debug output --- diff --git a/servers/inet/generic/tcp.c b/servers/inet/generic/tcp.c index eda4b6e53..432270492 100644 --- a/servers/inet/generic/tcp.c +++ b/servers/inet/generic/tcp.c @@ -874,7 +874,6 @@ assert (conf_acc->acc_length == sizeof(*tcp_conf)); result= NW_OK; break; case NWIOGTCPCOOKIE: - printf("NWIOGTCPCOOKIE request for fd %d\n", fd); if (!(tcp_fd->tf_flags & TFF_COOKIE)) { tcp_fd->tf_cookie.tc_ref= fd; diff --git a/servers/inet/sr.c b/servers/inet/sr.c index 1c8d0727f..393a351fd 100644 --- a/servers/inet/sr.c +++ b/servers/inet/sr.c @@ -132,11 +132,6 @@ mq_t *m; int result; int send_reply, free_mess; -#if 0 - if (m->mq_mess.m_source == FS_PROC_NR) - printf("sr_rec: got type %d from FS\n", m->mq_mess.m_type); -#endif - if (repl_queue) { if (m->mq_mess.m_type == DEV_CANCEL) @@ -317,10 +312,6 @@ mq_t *m; sr_fd= sr_getchannel(m->mq_mess.NDEV_MINOR); assert (sr_fd); -#if 0 - printf("sr_rwio: for %d\n", m->mq_mess.NDEV_PROC); -#endif - switch(m->mq_mess.m_type) { case DEV_READ: @@ -579,7 +570,6 @@ message *m; if (m_ops & SEL_ERR) i_ops |= SR_SELECT_EXCEPTION; if (!(m_ops & SEL_NOTIFY)) i_ops |= SR_SELECT_POLL; - printf("should select 0%o on fd %d\n", i_ops, m->NDEV_MINOR); r= (*sr_fd->srf_select)(sr_fd->srf_fd, i_ops); if (r < 0) return r; @@ -604,11 +594,6 @@ message *m; { repl_queue= mq->mq_next; -#if 0 - printf("sr_status: status %d for proc %d\n", - mq->mq_mess.REP_STATUS, mq->mq_mess.REP_PROC_NR); -#endif - mq->mq_mess.m_type= DEV_REVIVE; result= send(mq->mq_mess.m_source, &mq->mq_mess); if (result != OK) @@ -738,10 +723,6 @@ int is_revive; assert(operation != DEV_CANCEL); #endif -#if 0 - printf("sr_reply: for %d, is_revive = %d\n", proc, is_revive); -#endif - if (is_revive) mp= &mq->mq_mess; else @@ -828,7 +809,6 @@ assert (loc_fd->srf_flags & ip_flag); { if (mq) { - { where(); printf("sr_get_userdata: enqueuing event\n"); } arg.ev_ptr= loc_fd; ev_enqueue(evp, sr_event, arg); } @@ -891,7 +871,6 @@ int for_ioctl; { if (mq) { - { where(); printf("sr_put_userdata: enqueuing event\n"); } arg.ev_ptr= loc_fd; ev_enqueue(evp, sr_event, arg); } @@ -931,8 +910,6 @@ mq_t *mq, *tail, **tail_ptr; m= mq; mq= mq->mq_next; - DBLOCK(1, printf("calling rwio\n")); - result= sr_rwio(m); if (result == SUSPEND) {