diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-03-23 15:02:28 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-23 16:58:38 -0700 |
commit | da0503aae07f0410b6ff0a9e1d1d011701eb2758 (patch) | |
tree | 2912b9b6342a450b1d4cd9df09b0bc1de02235bb /fs/eventpoll.c | |
parent | 02edc6fc4d5feb3357aa44ba521e5504b4ff0b60 (diff) | |
download | kernel_goldelico_gta04-da0503aae07f0410b6ff0a9e1d1d011701eb2758.zip kernel_goldelico_gta04-da0503aae07f0410b6ff0a9e1d1d011701eb2758.tar.gz kernel_goldelico_gta04-da0503aae07f0410b6ff0a9e1d1d011701eb2758.tar.bz2 |
epoll: remove unneeded variable in reverse_path_check()
We never use the length variable.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Jason Baron <jbaron@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/eventpoll.c')
-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 23c2207..629e9ed 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) */ 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, |