diff --git a/[refs] b/[refs] index 2c3d2740e95c..5fe49c4df88e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: afef80b3d87cae574b8c6b763505f25b74d254ef +refs/heads/master: b76f90b526737070302a127c710263e2ac707676 diff --git a/trunk/include/linux/ratelimit.h b/trunk/include/linux/ratelimit.h index 18a5b9ba9d40..00044b856453 100644 --- a/trunk/include/linux/ratelimit.h +++ b/trunk/include/linux/ratelimit.h @@ -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