summaryrefslogtreecommitdiffstats
path: root/init/Kconfig
diff options
context:
space:
mode:
authorWang YanQing <udknight@gmail.com>2014-04-03 23:48:26 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-04 01:21:05 +0200
commit8f6c5ffc8987f4f5b5a3e9d557d94bbf3a9bf216 (patch)
tree79ea014021610d9a6057c070e1208542fd014e33 /init/Kconfig
parentsys_sysfs: Add CONFIG_SYSFS_SYSCALL (diff)
downloadlinux-8f6c5ffc8987f4f5b5a3e9d557d94bbf3a9bf216.tar.xz
linux-8f6c5ffc8987f4f5b5a3e9d557d94bbf3a9bf216.zip
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. [akpm@linux-foundation.org: remove obsolete claims from set_groups() comment] Signed-off-by: Wang YanQing <udknight@gmail.com> Cc: "Eric W. Biederman" <ebiederm@xmission.com> Cc: Serge Hallyn <serge.hallyn@canonical.com> Cc: Eric Paris <eparis@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init/Kconfig')
0 files changed, 0 insertions, 0 deletions