diff options
Diffstat (limited to 'block')
-rw-r--r-- | block/blk-cgroup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/block/blk-cgroup.c b/block/blk-cgroup.c index d0b770391ad4..3dc60fc441cb 100644 --- a/block/blk-cgroup.c +++ b/block/blk-cgroup.c | |||
@@ -610,7 +610,7 @@ struct cftype blkcg_files[] = { | |||
610 | * | 610 | * |
611 | * This is the blkcg counterpart of ioc_release_fn(). | 611 | * This is the blkcg counterpart of ioc_release_fn(). |
612 | */ | 612 | */ |
613 | static int blkcg_pre_destroy(struct cgroup *cgroup) | 613 | static void blkcg_pre_destroy(struct cgroup *cgroup) |
614 | { | 614 | { |
615 | struct blkcg *blkcg = cgroup_to_blkcg(cgroup); | 615 | struct blkcg *blkcg = cgroup_to_blkcg(cgroup); |
616 | 616 | ||
@@ -632,7 +632,6 @@ static int blkcg_pre_destroy(struct cgroup *cgroup) | |||
632 | } | 632 | } |
633 | 633 | ||
634 | spin_unlock_irq(&blkcg->lock); | 634 | spin_unlock_irq(&blkcg->lock); |
635 | return 0; | ||
636 | } | 635 | } |
637 | 636 | ||
638 | static void blkcg_destroy(struct cgroup *cgroup) | 637 | static void blkcg_destroy(struct cgroup *cgroup) |