Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 106925
b: refs/heads/master
c: 4d9c377
h: refs/heads/master
i:
  106923: d90ad19
v: v3
  • Loading branch information
Alexey Dobriyan authored and Linus Torvalds committed Jul 28, 2008
1 parent 082f33a commit 7a8a4f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 14fcc23fdc78e9d32372553ccf21758a9bd56fa1
refs/heads/master: 4d9c377c81d37740b25cacf025f95c084eafabbb
3 changes: 2 additions & 1 deletion trunk/lib/ratelimit.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#include <linux/module.h>

static DEFINE_SPINLOCK(ratelimit_lock);
static unsigned long flags;

/*
* __ratelimit - rate limiting
Expand All @@ -26,6 +25,8 @@ static unsigned long flags;
*/
int __ratelimit(struct ratelimit_state *rs)
{
unsigned long flags;

if (!rs->interval)
return 1;

Expand Down

0 comments on commit 7a8a4f5

Please sign in to comment.