|
@@ -117,9 +117,6 @@ static void ib_cmrc_shutdown ( struct ib_cmrc_connection *cmrc ) {
|
117
|
117
|
ib_destroy_cq ( cmrc->ibdev, cmrc->cq );
|
118
|
118
|
ib_close ( cmrc->ibdev );
|
119
|
119
|
|
120
|
|
- /* Remove process from run queue */
|
121
|
|
- process_del ( &cmrc->shutdown );
|
122
|
|
-
|
123
|
120
|
/* Drop the remaining reference */
|
124
|
121
|
ref_put ( &cmrc->refcnt );
|
125
|
122
|
}
|
|
@@ -363,7 +360,8 @@ static struct interface_descriptor ib_cmrc_xfer_desc =
|
363
|
360
|
|
364
|
361
|
/** CMRC shutdown process descriptor */
|
365
|
362
|
static struct process_descriptor ib_cmrc_shutdown_desc =
|
366
|
|
- PROC_DESC ( struct ib_cmrc_connection, shutdown, ib_cmrc_shutdown );
|
|
363
|
+ PROC_DESC_ONCE ( struct ib_cmrc_connection, shutdown,
|
|
364
|
+ ib_cmrc_shutdown );
|
367
|
365
|
|
368
|
366
|
/**
|
369
|
367
|
* Open CMRC connection
|