Bluetooth: Remove useless field init_credits
Remove `bt_l2cap_le_endpoint.init_credits` that has zero uses and is just taking up RAM for no reason. Signed-off-by: Aleksander Wasaznik <aleksander.wasaznik@nordicsemi.no>
This commit is contained in:
parent
c6e3bc3252
commit
a530010fe2
2 changed files with 4 additions and 2 deletions
|
@ -350,6 +350,10 @@ Bluetooth Host
|
||||||
|
|
||||||
(:github:`71686`)
|
(:github:`71686`)
|
||||||
|
|
||||||
|
* The field :code:`init_credits` in :c:type:`bt_l2cap_le_endpoint` has been removed as it was no
|
||||||
|
longer used in Zephyr 3.4.0 and later. Any references to this field should be removed. No further
|
||||||
|
action is needed.
|
||||||
|
|
||||||
Networking
|
Networking
|
||||||
**********
|
**********
|
||||||
|
|
||||||
|
|
|
@ -157,8 +157,6 @@ struct bt_l2cap_le_endpoint {
|
||||||
uint16_t mtu;
|
uint16_t mtu;
|
||||||
/** Endpoint Maximum PDU payload Size */
|
/** Endpoint Maximum PDU payload Size */
|
||||||
uint16_t mps;
|
uint16_t mps;
|
||||||
/** Endpoint initial credits */
|
|
||||||
uint16_t init_credits;
|
|
||||||
/** Endpoint credits */
|
/** Endpoint credits */
|
||||||
atomic_t credits;
|
atomic_t credits;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue