diff options
author | Joe Perches <joe@perches.com> | 2011-11-29 14:37:34 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-11-30 15:08:37 -0500 |
commit | 538af1344ab21cd2b638e779c2e82550a886b26e (patch) | |
tree | 1a2114502d6addc611041ac12af202ad48eb2018 /net/nfc/core.c | |
parent | 20c239c1390bd6f3bb389fe1a7e8307f29f52563 (diff) |
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/core.c')
-rw-r--r-- | net/nfc/core.c | 19 |
1 files changed, 0 insertions, 19 deletions
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 @@ | |||
35 | int nfc_devlist_generation; | 35 | int nfc_devlist_generation; |
36 | DEFINE_MUTEX(nfc_devlist_mutex); | 36 | DEFINE_MUTEX(nfc_devlist_mutex); |
37 | 37 | ||
38 | int nfc_printk(const char *level, const char *format, ...) | ||
39 | { | ||
40 | struct va_format vaf; | ||
41 | va_list args; | ||
42 | int r; | ||
43 | |||
44 | va_start(args, format); | ||
45 | |||
46 | vaf.fmt = format; | ||
47 | vaf.va = &args; | ||
48 | |||
49 | r = printk("%sNFC: %pV\n", level, &vaf); | ||
50 | |||
51 | va_end(args); | ||
52 | |||
53 | return r; | ||
54 | } | ||
55 | EXPORT_SYMBOL(nfc_printk); | ||
56 | |||
57 | /** | 38 | /** |
58 | * nfc_dev_up - turn on the NFC device | 39 | * nfc_dev_up - turn on the NFC device |
59 | * | 40 | * |