linux/net/bluetooth
Dmitry Antipov 4a0d2efbb7 Bluetooth: hci_core, hci_sync: cleanup struct discovery_state
[ Upstream commit da63f331353c9e1e6dc29e49e28f8f4fe5d642fd ]

After commit 78db544b5d27 ("Bluetooth: hci_core: Remove le_restart_scan
work"), 'scan_start' and 'scan_duration' of 'struct discovery_state'
are still initialized but actually unused. So remove the aforementioned
fields and adjust 'hci_discovery_filter_clear()' and 'le_scan_disable()'
accordingly. Compile tested only.

Fixes: 78db544b5d27 ("Bluetooth: hci_core: Remove le_restart_scan work")
Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-08-03 08:59:48 +02:00
..
2024-03-08 10:22:17 -05:00
2024-06-28 14:32:02 -04:00
2024-03-06 17:22:39 -05:00
2024-06-28 14:32:02 -04:00
2024-06-28 14:32:02 -04:00
2024-03-06 17:22:39 -05:00
2024-05-14 10:54:49 -04:00
2024-05-18 10:32:39 -07:00