]> Zhao Yanbai Git Server - minix.git/commitdiff
Less debug output
authorPhilip Homburg <philip@cs.vu.nl>
Wed, 31 Aug 2005 14:20:49 +0000 (14:20 +0000)
committerPhilip Homburg <philip@cs.vu.nl>
Wed, 31 Aug 2005 14:20:49 +0000 (14:20 +0000)
servers/inet/generic/tcp.c
servers/inet/sr.c

index eda4b6e534904e467ceee0af3c1a6e3ae2068536..432270492d078beecb9ffb1846e9891a22adff61 100644 (file)
@@ -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;
index 1c8d0727fee4261425b7a073fde550f03dd0a085..393a351fd2c517addb98366ebc849439978f6245 100644 (file)
@@ -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)
                {