diff options
author | David Howells <dhowells@redhat.com> | 2016-06-10 21:30:27 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-11 01:14:47 (GMT) |
commit | bc6e1ea32c26ead06063a882e802fff7ab6535c2 (patch) | |
tree | 4ac43978ac34b26e18991cb7c45a1b93e1ec730e /net/rxrpc | |
parent | ea7f8277f9076d71ed6a925e2835ef4b85d6f5e1 (diff) | |
download | linux-bc6e1ea32c26ead06063a882e802fff7ab6535c2.tar.xz |
rxrpc: Trim line-terminal whitespace
Trim line-terminal whitespace in net/rxrpc/
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rxrpc')
-rw-r--r-- | net/rxrpc/ar-input.c | 2 | ||||
-rw-r--r-- | net/rxrpc/ar-local.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/rxrpc/ar-input.c b/net/rxrpc/ar-input.c index d7c2a0b..e0815a0 100644 --- a/net/rxrpc/ar-input.c +++ b/net/rxrpc/ar-input.c @@ -734,7 +734,7 @@ void rxrpc_data_ready(struct sock *sk) rxrpc_post_packet_to_local(local, skb); goto out; } - + if (sp->hdr.type == RXRPC_PACKET_TYPE_DATA && (sp->hdr.callNumber == 0 || sp->hdr.seq == 0)) goto bad_message; diff --git a/net/rxrpc/ar-local.c b/net/rxrpc/ar-local.c index 701c42b..111f250 100644 --- a/net/rxrpc/ar-local.c +++ b/net/rxrpc/ar-local.c @@ -388,7 +388,7 @@ static void rxrpc_process_local_events(struct work_struct *work) _enter(""); atomic_inc(&local->usage); - + while ((skb = skb_dequeue(&local->event_queue))) { struct rxrpc_skb_priv *sp = rxrpc_skb(skb); |