* [PATCH 3/3] wanrouter: Remove kernel_lock annotations
@ 2011-11-07 8:24 Richard Weinberger
2011-11-07 18:27 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Richard Weinberger @ 2011-11-07 8:24 UTC (permalink / raw)
To: davem; +Cc: netdev, linux-kernel, Richard Weinberger
The BKL is gone, these annotations are useless.
Signed-off-by: Richard Weinberger <richard@nod.at>
---
net/wanrouter/wanproc.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/net/wanrouter/wanproc.c b/net/wanrouter/wanproc.c
index f346395..c43612e 100644
--- a/net/wanrouter/wanproc.c
+++ b/net/wanrouter/wanproc.c
@@ -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);
}
--
1.7.7
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 3/3] wanrouter: Remove kernel_lock annotations
2011-11-07 8:24 [PATCH 3/3] wanrouter: Remove kernel_lock annotations Richard Weinberger
@ 2011-11-07 18:27 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2011-11-07 18:27 UTC (permalink / raw)
To: richard; +Cc: netdev, linux-kernel
From: Richard Weinberger <richard@nod.at>
Date: Mon, 7 Nov 2011 09:24:21 +0100
> The BKL is gone, these annotations are useless.
>
> Signed-off-by: Richard Weinberger <richard@nod.at>
Applied, thanks Richard.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-11-07 18:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-07 8:24 [PATCH 3/3] wanrouter: Remove kernel_lock annotations Richard Weinberger
2011-11-07 18:27 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).