aboutsummaryrefslogtreecommitdiffstats
path: root/net/llc
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2012-05-16 18:48:15 -0400
committerDavid S. Miller <davem@davemloft.net>2012-05-17 04:50:21 -0400
commitdc6b9b78234fecdc6d2ca5e1629185718202bcf5 (patch)
tree81faf65c9cd9747d8dfe2828ff624507459bdf24 /net/llc
parent1f352920b908247273a7c1937fd8c341cc1cedb1 (diff)
net: include/net/sock.h cleanup
bool/const conversions where possible __inline__ -> inline space cleanups Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/llc')
-rw-r--r--net/llc/af_llc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/llc/af_llc.c b/net/llc/af_llc.c
index e9440753e16b..fe5453c3e719 100644
--- a/net/llc/af_llc.c
+++ b/net/llc/af_llc.c
@@ -838,7 +838,7 @@ static int llc_ui_recvmsg(struct kiocb *iocb, struct socket *sock,
838 838
839 if (!(flags & MSG_PEEK)) { 839 if (!(flags & MSG_PEEK)) {
840 spin_lock_irqsave(&sk->sk_receive_queue.lock, cpu_flags); 840 spin_lock_irqsave(&sk->sk_receive_queue.lock, cpu_flags);
841 sk_eat_skb(sk, skb, 0); 841 sk_eat_skb(sk, skb, false);
842 spin_unlock_irqrestore(&sk->sk_receive_queue.lock, cpu_flags); 842 spin_unlock_irqrestore(&sk->sk_receive_queue.lock, cpu_flags);
843 *seq = 0; 843 *seq = 0;
844 } 844 }
@@ -861,7 +861,7 @@ copy_uaddr:
861 861
862 if (!(flags & MSG_PEEK)) { 862 if (!(flags & MSG_PEEK)) {
863 spin_lock_irqsave(&sk->sk_receive_queue.lock, cpu_flags); 863 spin_lock_irqsave(&sk->sk_receive_queue.lock, cpu_flags);
864 sk_eat_skb(sk, skb, 0); 864 sk_eat_skb(sk, skb, false);
865 spin_unlock_irqrestore(&sk->sk_receive_queue.lock, cpu_flags); 865 spin_unlock_irqrestore(&sk->sk_receive_queue.lock, cpu_flags);
866 *seq = 0; 866 *seq = 0;
867 } 867 }