Commit 6557133
committed
sched_ext: Move sanity check and dsq_mod_nr() into task_unlink_from_dsq()
All task_unlink_from_dsq() users are doing dsq_mod_nr(dsq, -1). Move it into
task_unlink_from_dsq(). Also move sanity check into it.
No functional changes intended.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: David Vernet <void@manifault.com>1 parent 1389f49 commit 6557133
1 file changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1719 | 1719 | | |
1720 | 1720 | | |
1721 | 1721 | | |
| 1722 | + | |
| 1723 | + | |
1722 | 1724 | | |
1723 | 1725 | | |
1724 | 1726 | | |
1725 | 1727 | | |
1726 | 1728 | | |
1727 | 1729 | | |
1728 | 1730 | | |
| 1731 | + | |
1729 | 1732 | | |
1730 | 1733 | | |
1731 | 1734 | | |
| |||
1762 | 1765 | | |
1763 | 1766 | | |
1764 | 1767 | | |
1765 | | - | |
1766 | 1768 | | |
1767 | | - | |
1768 | 1769 | | |
1769 | 1770 | | |
1770 | 1771 | | |
| |||
2217 | 2218 | | |
2218 | 2219 | | |
2219 | 2220 | | |
2220 | | - | |
2221 | 2221 | | |
2222 | 2222 | | |
2223 | 2223 | | |
| |||
2307 | 2307 | | |
2308 | 2308 | | |
2309 | 2309 | | |
2310 | | - | |
2311 | 2310 | | |
2312 | 2311 | | |
2313 | 2312 | | |
| |||
0 commit comments