[igt-dev] [PATCH i-g-t v3 0/1] clear igt_devs.devs_scanned in igt_devices_free

Riana Tauro riana.tauro at intel.com
Tue Oct 11 05:34:17 UTC 2022


igt_devices_scan returns with empty list if devs_scanned
is true and function is called after igt_devices_free
clear igt_devs.devs_scanned in igt_devices_free.

Remove redundant code from igt_devices_scan

Rev2: optimized code in igt_devices_scan
Rev3: updated commit message

Riana Tauro (1):
  lib/igt_device_scan: clear igt_devs.devs_scanned in igt_devices_free

 lib/igt_device_scan.c | 20 ++++----------------
 1 file changed, 4 insertions(+), 16 deletions(-)

-- 
2.25.1



More information about the igt-dev mailing list