Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 59203a21 authored by Gustavo Padovan's avatar Gustavo Padovan Committed by Marcel Holtmann
Browse files

Bluetooth: Fix errors reported by checkpatch.pl

parent 44651b85
Loading
Loading
Loading
Loading
+5 −6
Original line number Diff line number Diff line
@@ -1490,9 +1490,8 @@ static inline int l2cap_skbuff_fromiovec(struct sock *sk, struct msghdr *msg, in
	struct sk_buff **frag;
	int err, sent = 0;

	if (memcpy_fromiovec(skb_put(skb, count), msg->msg_iov, count)) {
	if (memcpy_fromiovec(skb_put(skb, count), msg->msg_iov, count))
		return -EFAULT;
	}

	sent += count;
	len  -= count;