Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Bluetooth: Don't assign twice the same value

data.pid is set twice with the same value. Remove one of these redundant
calls.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>

authored by

Christophe JAILLET and committed by
Marcel Holtmann
1f667e15 18e8055c

-1
-1
net/bluetooth/l2cap_core.c
··· 1444 1444 data.pdu.scid[0] = cpu_to_le16(chan->scid); 1445 1445 1446 1446 chan->ident = l2cap_get_ident(conn); 1447 - data.pid = chan->ops->get_peer_pid(chan); 1448 1447 1449 1448 data.count = 1; 1450 1449 data.chan = chan;