Skip to contentSkip to conversation

bap: Remove duplicated code

PATCH Applied Luiz Augusto von Dentz 3 participants 3 messages Aug 28, 2023 – Aug 30, 2023 Bluetooth drivers

lore
Share & tools
lore

Luiz Augusto von Dentz

author maintainer
#0 lore raw

PATCH 1/1 bap: Remove duplicated code

From: Luiz Augusto von Dentz <[email protected]>

bap_create_io already handle streams of differents types.

---
 profiles/audio/bap.c | 5 -----
 1 file changed, 5 deletions(-)
profiles/audio/bap.c +0 -5
index dfc71edf66e0..911cdd0a45be 100644
@@ -1714,11 +1714,6 @@ static void bap_state(struct bt_bap_stream *stream, uint8_t old_state,
 		break;
 	case BT_BAP_STREAM_STATE_CONFIG:
 		if (ep && !ep->id) {
-			if
-			(bt_bap_pac_get_type(ep->lpac) == BT_BAP_BCAST_SINK) {
-				bap_create_bcast_io(data, ep, stream, true);
-				return;
-			}
 			bap_create_io(data, ep, stream, true);
 			if (!ep->io) {
 				error("Unable to create io");
Signature · 1 line
2.41.0
#1 lore raw

This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=780033

---Test result---

Test Summary:

CheckPatch                    PASS      0.34 seconds
GitLint                       PASS      0.25 seconds
BuildEll                      PASS      26.47 seconds
BluezMake                     PASS      787.73 seconds
MakeCheck                     PASS      11.98 seconds
MakeDistcheck                 PASS      158.02 seconds
CheckValgrind                 PASS      252.91 seconds
CheckSmatch                   PASS      341.71 seconds
bluezmakeextell               PASS      102.89 seconds
IncrementalBuild              PASS      657.14 seconds
ScanBuild                     PASS      1034.51 seconds

---
Regards,
Linux Bluetooth

#2 lore raw
In reply to Luiz Augusto von Dentz
This patch was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:

Hello:

This patch was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:

Quoted 6 lines · On Mon, 28 Aug 2023 12:30:11 -0700 you wrote:

From: Luiz Augusto von Dentz <[email protected]>

bap_create_io already handle streams of differents types.

---
 profiles/audio/bap.c | 5 -----
 1 file changed, 5 deletions(-)

Here is the summary with links:
- [BlueZ] bap: Remove duplicated code

    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=bc35476450af

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html