Print this page
8368 remove warlock leftovers from usr/src/uts
@@ -759,11 +759,10 @@
struct rdsv3_sock *rs = rdsv3_sk_to_rs(sk);
RDSV3_DPRINTF2("rdsv3_clrflowctrl", "enter(rs: %p)", rs);
}
-#ifndef __lock_lint
static struct sock_downcalls_s rdsv3_sock_downcalls = {
.sd_close = rdsv3_release,
.sd_bind = rdsv3_bind,
.sd_connect = rdsv3_connect,
.sd_accept = NULL,
@@ -779,31 +778,10 @@
.sd_activate = rdsv3_activate,
.sd_getpeername = rdsv3_getpeername,
.sd_send = NULL,
.sd_clr_flowctrl = NULL
};
-#else
-static struct sock_downcalls_s rdsv3_sock_downcalls = {
- rdsv3_activate,
- NULL,
- rdsv3_bind,
- NULL,
- rdsv3_connect,
- rdsv3_getpeername,
- rdsv3_getname,
- rdsv3_getsockopt,
- rdsv3_setsockopt,
- NULL,
- rdsv3_send_uio,
- rdsv3_recv_uio,
- rdsv3_poll,
- rdsv3_shutdown,
- NULL,
- rdsv3_ioctl,
- rdsv3_release
-};
-#endif
sock_lower_handle_t
rdsv3_create(int family, int type, int proto, sock_downcalls_t **sock_downcalls,
uint_t *smodep, int *errorp, int flags, cred_t *credp)
{
@@ -962,14 +940,12 @@
}
(void) ddi_taskq_dispatch(rdsv3_taskq, rdsv3_rdma_exit,
NULL, DDI_SLEEP);
while (rdsv3_rdma_listen_id != NULL) {
-#ifndef __lock_lint
RDSV3_DPRINTF5("rdsv3", "%s-%d Waiting for rdsv3_rdma_exit",
__func__, __LINE__);
-#endif
delay(drv_usectohz(1000));
}
rdsv3_conn_exit();
rdsv3_cong_exit();