Messages in this thread Patch in this message | | | Date | Mon, 26 Jan 2004 03:23:15 +0800 | From | Coywolf Qi Hunt <> | Subject | [PATCH 2.0.39] put_last_free() defined, but not used |
| |
Hello,
In 2.0.39, the function put_last_free() in fs/file_table.c is defined, but no longer get used. Should it be removed?
thanks
--- fs/file_table.c.orig 1994-10-21 07:39:36.000000000 +0800 +++ fs/file_table.c 2004-01-26 03:10:38.000000000 +0800 @@ -52,20 +52,6 @@ prev->f_next = next; } -/* - * Insert a file structure at the end of the list of available ones. - */ -static inline void put_last_free(struct file *file) -{ - struct file *next, *prev; - - next = first_file; - file->f_next = next; - prev = next->f_prev; - next->f_prev = file; - file->f_prev = prev; - prev->f_next = file; -} /* * Allocate a new memory page for file structures and - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |