diff options
| author | Wang YanQing <[email protected]> | 2014-04-03 14:48:26 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2014-04-03 16:21:05 -0700 |
| commit | 8f6c5ffc8987f4f5b5a3e9d557d94bbf3a9bf216 (patch) | |
| tree | 79ea014021610d9a6057c070e1208542fd014e33 /tools/perf/scripts/python/sched-migration.py | |
| parent | 6af9f7bf3c399e0ab1eee048e13572c6d4e15fe9 (diff) | |
kernel/groups.c: remove return value of set_groups
After commit 6307f8fee295 ("security: remove dead hook task_setgroups"),
set_groups will always return zero, so we could just remove return value
of set_groups.
This patch reduces code size, and simplfies code to use set_groups,
because we don't need to check its return value any more.
[[email protected]: remove obsolete claims from set_groups() comment]
Signed-off-by: Wang YanQing <[email protected]>
Cc: "Eric W. Biederman" <[email protected]>
Cc: Serge Hallyn <[email protected]>
Cc: Eric Paris <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions