Commit 039c811c authored by Richard Weinberger's avatar Richard Weinberger Committed by David S. Miller

wanrouter: Remove kernel_lock annotations

The BKL is gone, these annotations are useless.
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 23ba0799
...@@ -81,7 +81,6 @@ static struct proc_dir_entry *proc_router; ...@@ -81,7 +81,6 @@ static struct proc_dir_entry *proc_router;
* Iterator * Iterator
*/ */
static void *r_start(struct seq_file *m, loff_t *pos) static void *r_start(struct seq_file *m, loff_t *pos)
__acquires(kernel_lock)
{ {
struct wan_device *wandev; struct wan_device *wandev;
loff_t l = *pos; loff_t l = *pos;
...@@ -103,7 +102,6 @@ static void *r_next(struct seq_file *m, void *v, loff_t *pos) ...@@ -103,7 +102,6 @@ static void *r_next(struct seq_file *m, void *v, loff_t *pos)
} }
static void r_stop(struct seq_file *m, void *v) static void r_stop(struct seq_file *m, void *v)
__releases(kernel_lock)
{ {
mutex_unlock(&config_mutex); mutex_unlock(&config_mutex);
} }
......
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