Bluetooth: Fix build warning
authorHoegeun Kwon <hoegeun.kwon@samsung.com>
Tue, 4 Jul 2023 08:34:52 +0000 (17:34 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 24 Jul 2023 23:25:19 +0000 (08:25 +0900)
commit957688087a2afa1833e1a7f2534220707ecafa91
tree47bcca89e2014c1d4eeed14325b3b7153d5e7718
parente8f96956f2ac011db1dced7b1921258bef52068a
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