aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--block/blk-cgroup.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/block/blk-cgroup.c b/block/blk-cgroup.c
index a6809645d21..c1a39d90d14 100644
--- a/block/blk-cgroup.c
+++ b/block/blk-cgroup.c
@@ -811,8 +811,6 @@ static int blkiocg_weight_device_read(struct cgroup *cgrp, struct cftype *cft,
811 struct blkio_cgroup *blkcg; 811 struct blkio_cgroup *blkcg;
812 struct blkio_policy_node *pn; 812 struct blkio_policy_node *pn;
813 813
814 seq_printf(m, "dev\tweight\n");
815
816 blkcg = cgroup_to_blkio_cgroup(cgrp); 814 blkcg = cgroup_to_blkio_cgroup(cgrp);
817 if (!list_empty(&blkcg->policy_list)) { 815 if (!list_empty(&blkcg->policy_list)) {
818 spin_lock_irq(&blkcg->lock); 816 spin_lock_irq(&blkcg->lock);