Bluetooth: make array bt_uuid_any static const
authorColin Ian King <colin.i.king@gmail.com>
Mon, 14 Feb 2022 21:51:30 +0000 (21:51 +0000)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 16 Feb 2022 10:28:26 +0000 (11:28 +0100)
commit55442fc23d66d33d4f8036e0c6f061c586f4d150
tree06a2902f2378548588d8a9f49ae81c42c1943308
parent8c7d84a33ff76f06413fac6a62b528b8eb073f07
Bluetooth: make array bt_uuid_any static const

Don't populate the read-only array bt_uuid_any on the stack but
instead make it static const. Also makes the object code a little
smaller.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/mgmt.c