From: Gerhard Sittig Date: Sun, 11 Jun 2017 09:10:33 +0000 (+0200) Subject: device manager: Move filter for supported devices to the scan routine X-Git-Url: http://git.code-monkey.de/?a=commitdiff_plain;h=941e22a645e89e7253f0faeb63b74ee97201dd91;hp=941e22a645e89e7253f0faeb63b74ee97201dd91;p=pulseview.git device manager: Move filter for supported devices to the scan routine Move the check for supported monotonic rate devices from the call site into the actual scan routine. The scan routine already used to (store and) return a variable length set of found devices including none, and call sites can cope with this situation. Pending extensions may call the scan routine several times, and callers shall not duplicate the extra test condition. While we expect the specific test for what's supported to change in the future. ---