]> Git Repo - linux.git/commit - fs/nfsd/auth.c
kernel/groups.c: remove return value of set_groups
authorWang YanQing <[email protected]>
Thu, 3 Apr 2014 21:48:26 +0000 (14:48 -0700)
committerLinus Torvalds <[email protected]>
Thu, 3 Apr 2014 23:21:05 +0000 (16:21 -0700)
commit8f6c5ffc8987f4f5b5a3e9d557d94bbf3a9bf216
tree79ea014021610d9a6057c070e1208542fd014e33
parent6af9f7bf3c399e0ab1eee048e13572c6d4e15fe9
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]>
fs/nfsd/auth.c
include/linux/cred.h
kernel/groups.c
This page took 0.048805 seconds and 4 git commands to generate.