summaryrefslogtreecommitdiff
path: root/net/nfc/llcp/sock.c
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2012-10-04 13:15:51 (GMT)
committerSamuel Ortiz <sameo@linux.intel.com>2012-10-26 16:26:49 (GMT)
commit874934f4d492d0926a104c2a4bfbf7c1701e2fd2 (patch)
treef481e90454f96a9175be5417354bd536d0d5e731 /net/nfc/llcp/sock.c
parent0250ffc578ac26acbc8a43e8018f00b0b3989b84 (diff)
downloadlinux-874934f4d492d0926a104c2a4bfbf7c1701e2fd2.tar.xz
NFC: Fix style issues with logical operations
Logical continuations should be on the previous line. Signed-off-by: Szymon Janc <szymon.janc@tieto.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'net/nfc/llcp/sock.c')
-rw-r--r--net/nfc/llcp/sock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/nfc/llcp/sock.c b/net/nfc/llcp/sock.c
index 63e4cdc..debc54a 100644
--- a/net/nfc/llcp/sock.c
+++ b/net/nfc/llcp/sock.c
@@ -205,8 +205,8 @@ static int llcp_sock_listen(struct socket *sock, int backlog)
lock_sock(sk);
- if ((sock->type != SOCK_SEQPACKET && sock->type != SOCK_STREAM)
- || sk->sk_state != LLCP_BOUND) {
+ if ((sock->type != SOCK_SEQPACKET && sock->type != SOCK_STREAM) ||
+ sk->sk_state != LLCP_BOUND) {
ret = -EBADFD;
goto error;
}