mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 04:42:12 +00:00
wanrouter: Remove kernel_lock annotations
The BKL is gone, these annotations are useless. Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
23ba07991d
commit
039c811cb0
@ -81,7 +81,6 @@ static struct proc_dir_entry *proc_router;
|
||||
* Iterator
|
||||
*/
|
||||
static void *r_start(struct seq_file *m, loff_t *pos)
|
||||
__acquires(kernel_lock)
|
||||
{
|
||||
struct wan_device *wandev;
|
||||
loff_t l = *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)
|
||||
__releases(kernel_lock)
|
||||
{
|
||||
mutex_unlock(&config_mutex);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user