summaryrefslogtreecommitdiffstats
path: root/include/net/lib80211.h
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2014-10-13 15:55:27 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-10-14 02:18:27 +0200
commit5df1415aee48e1d20328238d3077e39793e83232 (patch)
tree278473338153bfe53cc047ecd02a95e8bf14a762 /include/net/lib80211.h
parente5ead669a3de3cc822f19b7289932ffbf9664328 (diff)
downloadlinux-5df1415aee48e1d20328238d3077e39793e83232.tar.gz
linux-5df1415aee48e1d20328238d3077e39793e83232.tar.bz2
linux-5df1415aee48e1d20328238d3077e39793e83232.zip
lib80211: remove unused print_ssid()
In kernel we have %*pE specifier to print an escaped buffer. All users now switched to that approach. This fixes a bug as well. The current implementation wrongly prints octal numbers: only two first digits are used in case when 3 are required and the rest of the string ends up cut off. Additionally by default the \f, \v, \a, and \e are escaped to their alphabetic representation. It's safe to do since it is currently used for messaging only. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Cc: "John W . Linville" <linville@tuxdriver.com> Cc: Johannes Berg <johannes@sipsolutions.net> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/net/lib80211.h')
-rw-r--r--include/net/lib80211.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/net/lib80211.h b/include/net/lib80211.h
index be95b9262801..aab0f427edb5 100644
--- a/include/net/lib80211.h
+++ b/include/net/lib80211.h
@@ -32,11 +32,6 @@
#include <linux/timer.h>
#include <linux/seq_file.h>
-/* print_ssid() is intended to be used in debug (and possibly error)
- * messages. It should never be used for passing ssid to user space. */
-const char *print_ssid(char *buf, const char *ssid, u8 ssid_len);
-#define DECLARE_SSID_BUF(var) char var[IEEE80211_MAX_SSID_LEN * 4 + 1] __maybe_unused
-
#define NUM_WEP_KEYS 4
enum {