[PATCH 6.1 186/473] Bluetooth: Consolidate code around sk_alloc into a helper function