Print this page
8368 remove warlock leftovers from usr/src/uts

@@ -253,16 +253,14 @@
                          * be unmapped
                          * when the SEND completes.
                          */
                         break;
                 default:
-#ifndef __lock_lint
                         RDSV3_DPRINTF2("rdsv3_ib_send_cq_comp_handler",
                             "RDS/IB: %s: unexpected opcode "
                             "0x%x in WR!",
                             __func__, send->s_opcode);
-#endif
                         break;
                 }
 
                 send->s_opcode = 0xdd;
                 if (send->s_queued + HZ/2 < jiffies)

@@ -585,17 +583,15 @@
             rm->m_inc.i_hdr.h_flags & RDSV3_FLAG_CONG_BITMAP) {
                 rdsv3_cong_map_updated(conn->c_fcong, ~(uint64_t)0);
                 return (sizeof (struct rdsv3_header) + RDSV3_CONG_MAP_BYTES);
         }
 
-#ifndef __lock_lint
         /* FIXME we may overallocate here */
         if (ntohl(rm->m_inc.i_hdr.h_len) == 0)
                 i = 1;
         else
                 i = ceil(ntohl(rm->m_inc.i_hdr.h_len), RDSV3_FRAG_SIZE);
-#endif
 
         work_alloc = rdsv3_ib_ring_alloc(&ic->i_send_ring, i, &pos);
         if (work_alloc != i) {
                 rdsv3_ib_ring_unalloc(&ic->i_send_ring, work_alloc);
                 set_bit(RDSV3_LL_SEND_FULL, &conn->c_flags);