Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da0503aa authored by Dan Carpenter's avatar Dan Carpenter Committed by Linus Torvalds
Browse files

epoll: remove unneeded variable in reverse_path_check()



We never use the length variable.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Acked-by: default avatarJason Baron <jbaron@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 02edc6fc
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1077,13 +1077,11 @@ static int reverse_path_check_proc(void *priv, void *cookie, int call_nests)
 */
static int reverse_path_check(void)
{
	int length = 0;
	int error = 0;
	struct file *current_file;

	/* let's call this for all tfiles */
	list_for_each_entry(current_file, &tfile_check_list, f_tfile_llink) {
		length++;
		path_count_init();
		error = ep_call_nested(&poll_loop_ncalls, EP_MAX_NESTS,
					reverse_path_check_proc, current_file,