|
@@ -1779,7 +1779,6 @@ static int fw_device_op_release(struct inode *inode, struct file *file)
|
|
|
wait_event(client->tx_flush_wait, !has_outbound_transactions(client));
|
|
|
|
|
|
idr_for_each(&client->resource_idr, shutdown_resource, client);
|
|
|
- idr_remove_all(&client->resource_idr);
|
|
|
idr_destroy(&client->resource_idr);
|
|
|
|
|
|
list_for_each_entry_safe(event, next_event, &client->event_list, link)
|