aboutsummaryrefslogtreecommitdiff
path: root/net/nfc/llcp
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2012-10-17 15:23:39 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2012-10-26 18:26:52 +0200
commit0f450772224f99db3b8384bfb8f751889d0c4cb8 (patch)
treec2b0422af06a420d853aab206605e2bb86429afd /net/nfc/llcp
parent7eda8b8e967781cfa5a04962502f9aa428f67e5f (diff)
NFC: Fix some code style and whitespace issues
Signed-off-by: Szymon Janc <szymon.janc@tieto.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'net/nfc/llcp')
-rw-r--r--net/nfc/llcp/llcp.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/net/nfc/llcp/llcp.c b/net/nfc/llcp/llcp.c
index 285bba8c7af..c8b27afc16f 100644
--- a/net/nfc/llcp/llcp.c
+++ b/net/nfc/llcp/llcp.c
@@ -65,7 +65,8 @@ static void nfc_llcp_socket_release(struct nfc_llcp_local *local, bool listen)
struct nfc_llcp_sock *lsk, *n;
struct sock *accept_sk;
- list_for_each_entry_safe(lsk, n, &llcp_sock->accept_queue,
+ list_for_each_entry_safe(lsk, n,
+ &llcp_sock->accept_queue,
accept_queue) {
accept_sk = &lsk->sk;
bh_lock_sock(accept_sk);
@@ -1111,7 +1112,7 @@ static void nfc_llcp_recv_snl(struct nfc_llcp_local *local,
tlv_len = skb->len - LLCP_HEADER_SIZE;
offset = 0;
- while(offset < tlv_len) {
+ while (offset < tlv_len) {
type = tlv[0];
length = tlv[1];
@@ -1168,7 +1169,7 @@ static void nfc_llcp_recv_snl(struct nfc_llcp_local *local,
pr_debug("%p %d\n", llcp_sock, sap);
- send_snl:
+send_snl:
nfc_llcp_send_snl(local, tid, sap);
break;