mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 04:32:37 +01:00
device: Print warning if device list isn't empty
This commit is contained in:
parent
de6dddce76
commit
22b599df5a
@ -1175,6 +1175,9 @@ bool device_init(void)
|
|||||||
|
|
||||||
bool device_exit(void)
|
bool device_exit(void)
|
||||||
{
|
{
|
||||||
|
if (!l_queue_isempty(device_list))
|
||||||
|
l_warn("device_list isn't empty!");
|
||||||
|
|
||||||
l_queue_destroy(device_list, device_free);
|
l_queue_destroy(device_list, device_free);
|
||||||
device_list = NULL;
|
device_list = NULL;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user