Wang YanQing 8f6c5ffc89 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>
2014-04-03 16:21:05 -07:00
..
2013-10-26 15:37:26 -04:00
2011-11-07 21:10:47 -05:00
2014-01-26 08:26:41 -05:00
2014-01-26 08:26:41 -05:00
2013-02-26 02:46:08 -05:00
2014-02-11 13:48:11 -05:00
2013-10-24 23:34:51 -04:00
2013-10-24 23:34:51 -04:00
2013-02-26 02:46:08 -05:00
2013-12-10 20:35:58 -05:00
2013-07-01 17:23:06 -04:00