2023-03-08 18:32:52

by Stotland, Inga

[permalink] [raw]
Subject: [PATCH] Bluetooth: hci_sync: Remove duplicate statement

This removes the following duplicate statement in
hci_le_ext_directed_advertising_sync():
cp.own_addr_type = own_addr_type;

Signed-off-by: Inga Stotland <[email protected]>
---
net/bluetooth/hci_sync.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/net/bluetooth/hci_sync.c b/net/bluetooth/hci_sync.c
index 450d9690bc30..8e5fe73873a8 100644
--- a/net/bluetooth/hci_sync.c
+++ b/net/bluetooth/hci_sync.c
@@ -5849,7 +5849,6 @@ static int hci_le_ext_directed_advertising_sync(struct hci_dev *hdev,
memset(&cp, 0, sizeof(cp));

cp.evt_properties = cpu_to_le16(LE_LEGACY_ADV_DIRECT_IND);
- cp.own_addr_type = own_addr_type;
cp.channel_map = hdev->le_adv_channel_map;
cp.tx_power = HCI_TX_POWER_INVALID;
cp.primary_phy = HCI_ADV_PHY_1M;
--
2.39.2



2023-03-08 19:03:30

by bluez.test.bot

[permalink] [raw]
Subject: RE: Bluetooth: hci_sync: Remove duplicate statement

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=727987

---Test result---

Test Summary:
CheckPatch PASS 0.65 seconds
GitLint PASS 0.34 seconds
SubjectPrefix PASS 0.13 seconds
BuildKernel PASS 30.68 seconds
CheckAllWarning PASS 34.13 seconds
CheckSparse PASS 38.16 seconds
CheckSmatch PASS 106.76 seconds
BuildKernel32 PASS 29.85 seconds
TestRunnerSetup PASS 430.35 seconds
TestRunner_l2cap-tester PASS 16.14 seconds
TestRunner_iso-tester PASS 16.51 seconds
TestRunner_bnep-tester PASS 5.42 seconds
TestRunner_mgmt-tester PASS 107.26 seconds
TestRunner_rfcomm-tester PASS 8.62 seconds
TestRunner_sco-tester PASS 8.01 seconds
TestRunner_ioctl-tester PASS 9.19 seconds
TestRunner_mesh-tester PASS 6.77 seconds
TestRunner_smp-tester PASS 7.77 seconds
TestRunner_userchan-tester PASS 5.67 seconds
IncrementalBuild PASS 27.80 seconds



---
Regards,
Linux Bluetooth

2023-03-10 00:20:23

by patchwork-bot+bluetooth

[permalink] [raw]
Subject: Re: [PATCH] Bluetooth: hci_sync: Remove duplicate statement

Hello:

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

On Wed, 8 Mar 2023 10:32:35 -0800 you wrote:
> This removes the following duplicate statement in
> hci_le_ext_directed_advertising_sync():
> cp.own_addr_type = own_addr_type;
>
> Signed-off-by: Inga Stotland <[email protected]>
> ---
> net/bluetooth/hci_sync.c | 1 -
> 1 file changed, 1 deletion(-)

Here is the summary with links:
- Bluetooth: hci_sync: Remove duplicate statement
https://git.kernel.org/bluetooth/bluetooth-next/c/f959b6b32769

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html