diff mbox series

Bluetooth: hci_sync: Remove duplicate statement

Message ID 20230308183235.326109-1-inga.stotland@intel.com
State Accepted
Commit f959b6b327696e77fd7980a3c5e62794e15f17d5
Headers show
Series Bluetooth: hci_sync: Remove duplicate statement | expand

Commit Message

Inga Stotland March 8, 2023, 6:32 p.m. UTC
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 <inga.stotland@intel.com>
---
 net/bluetooth/hci_sync.c | 1 -
 1 file changed, 1 deletion(-)

Comments

bluez.test.bot@gmail.com March 8, 2023, 7:02 p.m. UTC | #1
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
patchwork-bot+bluetooth@kernel.org March 10, 2023, 12:20 a.m. UTC | #2
Hello:

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

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 <inga.stotland@intel.com>
> ---
>  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!
diff mbox series

Patch

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;