diff options
Diffstat (limited to 'drivers/firewire/core-cdev.c')
-rw-r--r-- | drivers/firewire/core-cdev.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/firewire/core-cdev.c b/drivers/firewire/core-cdev.c index aee149bdf4c0..a301fcf46e88 100644 --- a/drivers/firewire/core-cdev.c +++ b/drivers/firewire/core-cdev.c | |||
@@ -1307,8 +1307,7 @@ static void iso_resource_work(struct work_struct *work) | |||
1307 | */ | 1307 | */ |
1308 | if (r->todo == ISO_RES_REALLOC && !success && | 1308 | if (r->todo == ISO_RES_REALLOC && !success && |
1309 | !client->in_shutdown && | 1309 | !client->in_shutdown && |
1310 | idr_find(&client->resource_idr, r->resource.handle)) { | 1310 | idr_remove(&client->resource_idr, r->resource.handle)) { |
1311 | idr_remove(&client->resource_idr, r->resource.handle); | ||
1312 | client_put(client); | 1311 | client_put(client); |
1313 | free = true; | 1312 | free = true; |
1314 | } | 1313 | } |