mirror of https://gitee.com/openkylin/linux.git
Bluetooth: Remove unneeded local_amp_id initialization
local_amp_id is already set in l2cap_connect() which is called several lines above. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
This commit is contained in:
parent
96eff46e9f
commit
522db70286
|
@ -4284,7 +4284,6 @@ static int l2cap_create_channel_req(struct l2cap_conn *conn,
|
|||
|
||||
BT_DBG("mgr %p bredr_chan %p hs_hcon %p", mgr, chan, hs_hcon);
|
||||
|
||||
chan->local_amp_id = req->amp_id;
|
||||
mgr->bredr_chan = chan;
|
||||
chan->hs_hcon = hs_hcon;
|
||||
conn->mtu = hdev->block_mtu;
|
||||
|
|
Loading…
Reference in New Issue