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>
This commit is contained in:

committed by
Samuel Ortiz

parent
7eda8b8e96
commit
0f45077222
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user