diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-05-29 10:35:38 +0200 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2013-05-29 10:35:38 +0200 |
commit | 71e35a85995efd9f5fbdc0ef9cd7b013389f4727 (patch) | |
tree | 6a3c57701373bd13b15735c9ccf566e8f0e067f9 | |
parent | 116420b953d605297dba1827e71ff8eafc99a765 (diff) |
ifpps: remove unused function snr_to_str
It's not used anywhere anymore, so remove it.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
-rw-r--r-- | ifpps.c | 16 |
1 files changed, 0 insertions, 16 deletions
@@ -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; |