Merge "sched/tune: Remove redundant checks for NULL css"
This commit is contained in:
commit
201e421789
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ struct schedtune {
|
||||||
|
|
||||||
static inline struct schedtune *css_st(struct cgroup_subsys_state *css)
|
static inline struct schedtune *css_st(struct cgroup_subsys_state *css)
|
||||||
{
|
{
|
||||||
return css ? container_of(css, struct schedtune, css) : NULL;
|
return container_of(css, struct schedtune, css);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline struct schedtune *task_schedtune(struct task_struct *tsk)
|
static inline struct schedtune *task_schedtune(struct task_struct *tsk)
|
||||||
|
|
Loading…
Add table
Reference in a new issue