From 538af1344ab21cd2b638e779c2e82550a886b26e Mon Sep 17 00:00:00 2001 From: Joe Perches Date: Tue, 29 Nov 2011 11:37:34 -0800 Subject: nfc: Remove unused nfc_printk and nfc_ macros All uses have been removed, so killing what's not necessary. Signed-off-by: Joe Perches Signed-off-by: John W. Linville --- net/nfc/core.c | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'net/nfc/core.c') diff --git a/net/nfc/core.c b/net/nfc/core.c index c922adb9e65..3ebc6b3aaba 100644 --- a/net/nfc/core.c +++ b/net/nfc/core.c @@ -35,25 +35,6 @@ int nfc_devlist_generation; DEFINE_MUTEX(nfc_devlist_mutex); -int nfc_printk(const char *level, const char *format, ...) -{ - struct va_format vaf; - va_list args; - int r; - - va_start(args, format); - - vaf.fmt = format; - vaf.va = &args; - - r = printk("%sNFC: %pV\n", level, &vaf); - - va_end(args); - - return r; -} -EXPORT_SYMBOL(nfc_printk); - /** * nfc_dev_up - turn on the NFC device * -- cgit v1.2.2