Print this page
8368 remove warlock leftovers from usr/src/uts
@@ -1133,11 +1133,10 @@
struct rdsv3_ib_connection *ic = arg;
kmutex_t *lock_ptr;
RDSV3_DPRINTF2("rdsv3_ib_conn_free", "ic %p\n", ic);
-#ifndef __lock_lint
/*
* Conn is either on a dev's list or on the nodev list.
* A race with shutdown() or connect() would cause problems
* (since rds_ibdev would change) but that should never happen.
*/
@@ -1145,11 +1144,10 @@
&ic->rds_ibdev->spinlock : &ib_nodev_conns_lock;
mutex_enter(lock_ptr);
list_remove_node(&ic->ib_node);
mutex_exit(lock_ptr);
-#endif
kmem_free(ic, sizeof (*ic));
}
/*
* An error occurred on the connection