]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/sched/cls_cgroup.c
drm/radeon/kms: add initial colortiling support.
[karo-tx-linux.git] / net / sched / cls_cgroup.c
index e5becb92b3e7b0f17d43b3342a4621e51e162b4f..e4877ca6727c4b098ef1b6f08163fd7702d3eea2 100644 (file)
@@ -62,13 +62,7 @@ static u64 read_classid(struct cgroup *cgrp, struct cftype *cft)
 
 static int write_classid(struct cgroup *cgrp, struct cftype *cft, u64 value)
 {
-       if (!cgroup_lock_live_group(cgrp))
-               return -ENODEV;
-
        cgrp_cls_state(cgrp)->classid = (u32) value;
-
-       cgroup_unlock();
-
        return 0;
 }