From 71e35a85995efd9f5fbdc0ef9cd7b013389f4727 Mon Sep 17 00:00:00 2001 From: Daniel Borkmann Date: Wed, 29 May 2013 10:35:38 +0200 Subject: ifpps: remove unused function snr_to_str It's not used anywhere anymore, so remove it. Signed-off-by: Daniel Borkmann --- ifpps.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/ifpps.c b/ifpps.c index dd03830..c411b3e 100644 --- a/ifpps.c +++ b/ifpps.c @@ -88,22 +88,6 @@ static void signal_handler(int number) } } -static inline char *snr_to_str(int level) -{ - if (level > 40) - return "very good signal"; - if (level > 25 && level <= 40) - return "good signal"; - if (level > 15 && level <= 25) - return "poor signal"; - if (level > 10 && level <= 15) - return "very poor signal"; - if (level <= 10) - return "no signal"; - - return "unknown"; -} - static inline int iswireless(const struct ifstat *stats) { return stats->wifi.bitrate > 0; -- cgit v1.2.3-54-g00ecf