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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/ib/clients/rdsv3/ib_cm.c
          +++ new/usr/src/uts/common/io/ib/clients/rdsv3/ib_cm.c
↓ open down ↓ 1127 lines elided ↑ open up ↑
1128 1128   * Free a connection. Connection must be shut down and not set for reconnect.
1129 1129   */
1130 1130  void
1131 1131  rdsv3_ib_conn_free(void *arg)
1132 1132  {
1133 1133          struct rdsv3_ib_connection *ic = arg;
1134 1134          kmutex_t        *lock_ptr;
1135 1135  
1136 1136          RDSV3_DPRINTF2("rdsv3_ib_conn_free", "ic %p\n", ic);
1137 1137  
1138      -#ifndef __lock_lint
1139 1138          /*
1140 1139           * Conn is either on a dev's list or on the nodev list.
1141 1140           * A race with shutdown() or connect() would cause problems
1142 1141           * (since rds_ibdev would change) but that should never happen.
1143 1142           */
1144 1143          lock_ptr = ic->i_on_dev_list ?
1145 1144              &ic->rds_ibdev->spinlock : &ib_nodev_conns_lock;
1146 1145  
1147 1146          mutex_enter(lock_ptr);
1148 1147          list_remove_node(&ic->ib_node);
1149 1148          mutex_exit(lock_ptr);
1150      -#endif
1151 1149          kmem_free(ic, sizeof (*ic));
1152 1150  }
1153 1151  
1154 1152  /*
1155 1153   * An error occurred on the connection
1156 1154   */
1157 1155  void
1158 1156  __rdsv3_ib_conn_error(struct rdsv3_connection *conn)
1159 1157  {
1160 1158          rdsv3_conn_drop(conn);
1161 1159  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX