mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
net: Move && and || to end of previous line
Not including net/atm/ Compiled tested x86 allyesconfig only Added a > 80 column line or two, which I ignored. Existing checkpatch plaints willfully, cheerfully ignored. Signed-off-by: Joe Perches <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
152b6a62ae
commit
f64f9e7192
63 changed files with 235 additions and 233 deletions
|
|
@ -714,8 +714,8 @@ static int pep_ioctl(struct sock *sk, int cmd, unsigned long arg)
|
|||
return -EINVAL;
|
||||
|
||||
lock_sock(sk);
|
||||
if (sock_flag(sk, SOCK_URGINLINE)
|
||||
&& !skb_queue_empty(&pn->ctrlreq_queue))
|
||||
if (sock_flag(sk, SOCK_URGINLINE) &&
|
||||
!skb_queue_empty(&pn->ctrlreq_queue))
|
||||
answ = skb_peek(&pn->ctrlreq_queue)->len;
|
||||
else if (!skb_queue_empty(&sk->sk_receive_queue))
|
||||
answ = skb_peek(&sk->sk_receive_queue)->len;
|
||||
|
|
|
|||
|
|
@ -98,8 +98,8 @@ struct sock *pn_find_sock_by_sa(struct net *net, const struct sockaddr_pn *spn)
|
|||
if (pn->resource != res)
|
||||
continue;
|
||||
}
|
||||
if (pn_addr(pn->sobject)
|
||||
&& pn_addr(pn->sobject) != pn_addr(obj))
|
||||
if (pn_addr(pn->sobject) &&
|
||||
pn_addr(pn->sobject) != pn_addr(obj))
|
||||
continue;
|
||||
|
||||
rval = sknode;
|
||||
|
|
|
|||
Loading…
Reference in a new issue