projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'topic/asoc' into for-linus
[deliverable/linux.git]
/
lib
/
ratelimit.c
diff --git
a/lib/ratelimit.c
b/lib/ratelimit.c
index 35136671b215f68222f498e086248fb8df51e64b..26187edcc7ead6c8c14bd69f1bb77cb3ca4640b4 100644
(file)
--- a/
lib/ratelimit.c
+++ b/
lib/ratelimit.c
@@
-15,7
+15,6
@@
#include <linux/module.h>
static DEFINE_SPINLOCK(ratelimit_lock);
-static unsigned long flags;
/*
* __ratelimit - rate limiting
@@
-26,6
+25,8
@@
static unsigned long flags;
*/
int __ratelimit(struct ratelimit_state *rs)
{
+ unsigned long flags;
+
if (!rs->interval)
return 1;
This page took
0.02395 seconds
and
5
git commands to generate.