Commit 86005b89 authored by Linus Torvalds's avatar Linus Torvalds

Avoid unused variable in route.c

parent 3bfb13d6
...@@ -275,11 +275,8 @@ static void *rt_cache_seq_next(struct seq_file *seq, void *v, loff_t *pos) ...@@ -275,11 +275,8 @@ static void *rt_cache_seq_next(struct seq_file *seq, void *v, loff_t *pos)
static void rt_cache_seq_stop(struct seq_file *seq, void *v) static void rt_cache_seq_stop(struct seq_file *seq, void *v)
{ {
if (v && v != (void *)1) { if (v && v != (void *)1)
struct rt_cache_iter_state *st = seq->private;
rcu_read_unlock(); rcu_read_unlock();
}
} }
static int rt_cache_seq_show(struct seq_file *seq, void *v) static int rt_cache_seq_show(struct seq_file *seq, void *v)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment