diff options
author | Kirill A. Shutemov <kirill@shutemov.name> | 2014-06-05 01:11:27 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-05 01:54:16 +0200 |
commit | b300a4ea665f7fa44f015616ac1874deca891c5e (patch) | |
tree | f7765def77a2ba2dabbf710b3cd45b2775364372 /kernel | |
parent | kernel/hung_task.c: convert simple_strtoul to kstrtouint (diff) | |
download | linux-b300a4ea665f7fa44f015616ac1874deca891c5e.tar.xz linux-b300a4ea665f7fa44f015616ac1874deca891c5e.zip |
kernel/user.c: drop unused field 'files' from user_struct
Nobody seems uses it for a long time. Let's drop it.
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/user.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/user.c b/kernel/user.c index 294fc6a94168..4efa39350e44 100644 --- a/kernel/user.c +++ b/kernel/user.c @@ -87,7 +87,6 @@ static DEFINE_SPINLOCK(uidhash_lock); struct user_struct root_user = { .__count = ATOMIC_INIT(1), .processes = ATOMIC_INIT(1), - .files = ATOMIC_INIT(0), .sigpending = ATOMIC_INIT(0), .locked_shm = 0, .uid = GLOBAL_ROOT_UID, |