Bluetooth: Fix build warning 64/295264/1
authorHoegeun Kwon <hoegeun.kwon@samsung.com>
Tue, 4 Jul 2023 08:34:52 +0000 (17:34 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Tue, 4 Jul 2023 08:36:37 +0000 (17:36 +0900)
commitdbc1d15b4cab580c6151a353eae26e46c44bac60
tree9a4165fd06295dcf20f44e6b0f688d3325f59fee
parent4c3e010a6eef29dd44c54fd3cdcda8029a636536
Bluetooth: Fix build warning

Occur build warning for unused variable, Fix warning

  net/bluetooth/hci_event.c: In function ‘process_adv_report’:
  net/bluetooth/hci_event.c:6470:7: warning: unused variable ‘match’ [-Wunused-variable]
    bool match;
         ^~~~~
  net/bluetooth/hci_event.c:6469:26: warning: unused variable ‘d’ [-Wunused-variable]
    struct discovery_state *d = &hdev->discovery;

Change-Id: I5c6778aea827e6d138009541991409834ea9cc07
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
net/bluetooth/hci_event.c