]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Bluetooth: hci_core: cleanup struct hci_dev
authorDmitry Antipov <dmantipov@yandex.ru>
Fri, 21 Jun 2024 13:01:55 +0000 (16:01 +0300)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 15 Jul 2024 14:11:19 +0000 (10:11 -0400)
commit3ba74b2f288bbc17c0c2a58ab219e1df19f80153
tree8fb7f37a5b30c6ebaff36f83a14727a1c17f5e34
parent1723b550b66aebea9b8e9d6fb5f3c468adea69ce
Bluetooth: hci_core: cleanup struct hci_dev

Remove unused and set but otherwise unused 'discovery_old_state'
and 'sco_last_tx' members of 'struct hci_dev'. The first one is
a leftover after commit 182ee45da083 ("Bluetooth: hci_sync: Rework
hci_suspend_notifier"); the second one is originated from ancient
2.4.19 and I was unable to find any actual use since that.

Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_sync.c