VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Al Viro <viro@zeniv.linux.org.uk> 2012-10-02 16:34:38 -0400 committer: Al Viro <viro@zeniv.linux.org.uk> 2012-11-28 21:49:02 -0500 commit: c4144670fd9b34d6eae22c9f83751745898e8243 parent: 02232f8d2b22708f0651dc515544f4a7ef1e0224
Commit Summary:
kill daemonize()
Diffstat:
1 file changed, 0 insertions, 6 deletions
diff --git a/fs/file.c b/fs/file.c
index 7cb71b992603..7272a1c5831d 100644
--- a/fs/file.c
+++ b/fs/file.c
@@ -519,12 +519,6 @@ struct files_struct init_files = {
 	.file_lock	= __SPIN_LOCK_UNLOCKED(init_task.file_lock),
 };
 
-void daemonize_descriptors(void)
-{
-	atomic_inc(&init_files.count);
-	reset_files_struct(&init_files);
-}
-
 /*
  * allocate a file descriptor, mark it busy.
  */