summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Yakovlev <stas.yakovlev@gmail.com>2011-10-30 10:47:50 +0400
committerJohn W. Linville <linville@tuxdriver.com>2011-11-10 01:01:00 +0400
commit6e6ae9ddf0bc19ce066ed2f66f7a52b827e4514e (patch)
tree25b340f7c908fecfb4f801967c9d4f5d46f35a58
parentfd6562344dea2b8b2a5d644cf971f4e56004500a (diff)
downloadlinux-6e6ae9ddf0bc19ce066ed2f66f7a52b827e4514e.tar.xz
ipw2x00: remove unused function libipw_ratelimit_debug.
Looks like no one uses it. Signed-off-by: Stanislav Yakovlev <stas.yakovlev@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/ipw2x00/libipw.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/wireless/ipw2x00/libipw.h b/drivers/net/wireless/ipw2x00/libipw.h
index 70f5586d96bd..3d5821eeb054 100644
--- a/drivers/net/wireless/ipw2x00/libipw.h
+++ b/drivers/net/wireless/ipw2x00/libipw.h
@@ -66,16 +66,8 @@ extern u32 libipw_debug_level;
do { if (libipw_debug_level & (level)) \
printk(KERN_DEBUG "libipw: %c %s " fmt, \
in_interrupt() ? 'I' : 'U', __func__ , ## args); } while (0)
-static inline bool libipw_ratelimit_debug(u32 level)
-{
- return (libipw_debug_level & level) && net_ratelimit();
-}
#else
#define LIBIPW_DEBUG(level, fmt, args...) do {} while (0)
-static inline bool libipw_ratelimit_debug(u32 level)
-{
- return false;
-}
#endif /* CONFIG_LIBIPW_DEBUG */
/*