diff options
-rw-r--r-- | fs/eventpoll.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/eventpoll.c b/fs/eventpoll.c index 23c220774d1b..629e9ed99d0f 100644 --- a/fs/eventpoll.c +++ b/fs/eventpoll.c | |||
@@ -1077,13 +1077,11 @@ static int reverse_path_check_proc(void *priv, void *cookie, int call_nests) | |||
1077 | */ | 1077 | */ |
1078 | static int reverse_path_check(void) | 1078 | static int reverse_path_check(void) |
1079 | { | 1079 | { |
1080 | int length = 0; | ||
1081 | int error = 0; | 1080 | int error = 0; |
1082 | struct file *current_file; | 1081 | struct file *current_file; |
1083 | 1082 | ||
1084 | /* let's call this for all tfiles */ | 1083 | /* let's call this for all tfiles */ |
1085 | list_for_each_entry(current_file, &tfile_check_list, f_tfile_llink) { | 1084 | list_for_each_entry(current_file, &tfile_check_list, f_tfile_llink) { |
1086 | length++; | ||
1087 | path_count_init(); | 1085 | path_count_init(); |
1088 | error = ep_call_nested(&poll_loop_ncalls, EP_MAX_NESTS, | 1086 | error = ep_call_nested(&poll_loop_ncalls, EP_MAX_NESTS, |
1089 | reverse_path_check_proc, current_file, | 1087 | reverse_path_check_proc, current_file, |