linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH BlueZ] bap: Remove duplicated code
@ 2023-08-28 19:30 Luiz Augusto von Dentz
  2023-08-28 20:33 ` [BlueZ] " bluez.test.bot
  2023-08-30 23:00 ` [PATCH BlueZ] " patchwork-bot+bluetooth
  0 siblings, 2 replies; 3+ messages in thread
From: Luiz Augusto von Dentz @ 2023-08-28 19:30 UTC (permalink / raw)
  To: linux-bluetooth

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

bap_create_io already handle streams of differents types.
---
 profiles/audio/bap.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/profiles/audio/bap.c b/profiles/audio/bap.c
index dfc71edf66e0..911cdd0a45be 100644
--- a/profiles/audio/bap.c
+++ b/profiles/audio/bap.c
@@ -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");
-- 
2.41.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* RE: [BlueZ] bap: Remove duplicated code
  2023-08-28 19:30 [PATCH BlueZ] bap: Remove duplicated code Luiz Augusto von Dentz
@ 2023-08-28 20:33 ` bluez.test.bot
  2023-08-30 23:00 ` [PATCH BlueZ] " patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2023-08-28 20:33 UTC (permalink / raw)
  To: linux-bluetooth, luiz.dentz

[-- Attachment #1: Type: text/plain, Size: 947 bytes --]

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH BlueZ] bap: Remove duplicated code
  2023-08-28 19:30 [PATCH BlueZ] bap: Remove duplicated code Luiz Augusto von Dentz
  2023-08-28 20:33 ` [BlueZ] " bluez.test.bot
@ 2023-08-30 23:00 ` patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+bluetooth @ 2023-08-30 23:00 UTC (permalink / raw)
  To: Luiz Augusto von Dentz; +Cc: linux-bluetooth

Hello:

This patch was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Mon, 28 Aug 2023 12:30:11 -0700 you wrote:
> From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
> 
> 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!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-08-30 23:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-28 19:30 [PATCH BlueZ] bap: Remove duplicated code Luiz Augusto von Dentz
2023-08-28 20:33 ` [BlueZ] " bluez.test.bot
2023-08-30 23:00 ` [PATCH BlueZ] " patchwork-bot+bluetooth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).