# Re: \[PATCH 03/23\] netprio\_cgroup: pass around @css instead of @cgroup and kill struct cgroup\_netprio\_state

- From: David Miller \<hidden\>
- Date: 2013-08-01 22:07:50 
- List: cgroups
- Page: https://ratatoskr.run/cgroups/2013/08/4093579
- Thread: https://ratatoskr.run/cgroups/2013/08/4093533/t.md

```text
From: Tejun Heo <redacted>
Date: Thu,  1 Aug 2013 17:49:41 -0400

> cgroup controller API will be converted to primarily use struct
> cgroup_subsys_state instead of struct cgroup.  In preparation, make
> the internal functions of netprio_cgroup pass around @css instead of
> @cgrp.
> 
> While at it, kill struct cgroup_netprio_state which only contained
> struct cgroup_subsys_state without serving any purpose.  All functions
> are converted to deal with @css directly.
> 
> This patch shouldn't cause any behavior differences.
> 
> Signed-off-by: Tejun Heo <redacted>

Acked-by: David S. Miller <redacted>
```
