Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118910
b: refs/heads/master
c: b76f90b
h: refs/heads/master
v: v3
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Nov 13, 2008
1 parent 1fa86a2 commit 591217c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 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: afef80b3d87cae574b8c6b763505f25b74d254ef
refs/heads/master: b76f90b526737070302a127c710263e2ac707676
7 changes: 0 additions & 7 deletions trunk/include/linux/ratelimit.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,4 @@ struct ratelimit_state {
struct ratelimit_state name = {interval, burst,}

extern int __ratelimit(struct ratelimit_state *rs);

static inline int ratelimit(void)
{
static DEFINE_RATELIMIT_STATE(rs, DEFAULT_RATELIMIT_INTERVAL,
DEFAULT_RATELIMIT_BURST);
return __ratelimit(&rs);
}
#endif

0 comments on commit 591217c

Please sign in to comment.