summaryrefslogtreecommitdiffstats
path: root/net/nfc/nfc.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2011-11-29 20:37:34 +0100
committerJohn W. Linville <linville@tuxdriver.com>2011-11-30 21:08:37 +0100
commit538af1344ab21cd2b638e779c2e82550a886b26e (patch)
tree1a2114502d6addc611041ac12af202ad48eb2018 /net/nfc/nfc.h
parentnfc: Convert nfc_dbg to pr_debug (diff)
downloadlinux-538af1344ab21cd2b638e779c2e82550a886b26e.tar.xz
linux-538af1344ab21cd2b638e779c2e82550a886b26e.zip
nfc: Remove unused nfc_printk and nfc_<level> macros
All uses have been removed, so killing what's not necessary. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/nfc/nfc.h')
-rw-r--r--net/nfc/nfc.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/net/nfc/nfc.h b/net/nfc/nfc.h
index d86583f4831d..67d605015304 100644
--- a/net/nfc/nfc.h
+++ b/net/nfc/nfc.h
@@ -27,13 +27,6 @@
#include <net/nfc/nfc.h>
#include <net/sock.h>
-__printf(2, 3)
-int nfc_printk(const char *level, const char *fmt, ...);
-
-#define nfc_info(fmt, arg...) nfc_printk(KERN_INFO, fmt, ##arg)
-#define nfc_err(fmt, arg...) nfc_printk(KERN_ERR, fmt, ##arg)
-#define nfc_dbg(fmt, arg...) pr_debug(fmt "\n", ##arg)
-
struct nfc_protocol {
int id;
struct proto *proto;