summaryrefslogtreecommitdiffstats
path: root/net/nfc/hci/llc.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-02-22 15:14:18 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2014-02-23 23:34:09 +0100
commit0b51fc5633df563695f5021bc121a9df20b3eb14 (patch)
tree30fbe7320113f6aae986ff8c7d79bd0937c72390 /net/nfc/hci/llc.c
parentNFC: digital: Use matching_[im|tm]_protocols to check with NFC protocols masks (diff)
downloadlinux-0b51fc5633df563695f5021bc121a9df20b3eb14.tar.xz
linux-0b51fc5633df563695f5021bc121a9df20b3eb14.zip
NFC: Use LIST_HEAD() at appropriate places
Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'net/nfc/hci/llc.c')
-rw-r--r--net/nfc/hci/llc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/nfc/hci/llc.c b/net/nfc/hci/llc.c
index a07d2b818487..1b90c0531852 100644
--- a/net/nfc/hci/llc.c
+++ b/net/nfc/hci/llc.c
@@ -20,14 +20,12 @@
#include "llc.h"
-static struct list_head llc_engines;
+static LIST_HEAD(llc_engines);
int nfc_llc_init(void)
{
int r;
- INIT_LIST_HEAD(&llc_engines);
-
r = nfc_llc_nop_register();
if (r)
goto exit;