filter: remove bogus TTY virtual console filter

The more generic filter for virtual devices already covers all cases
covered by the TTY virtual console filter.
This commit is contained in:
Aleksander Morgado
2017-12-05 10:58:28 +01:00
parent 4e26661e67
commit 239f7ba8a2
3 changed files with 6 additions and 17 deletions
+3 -4
View File
@@ -49,10 +49,9 @@ typedef enum { /*< underscore_name=mm_filter_rule >*/
MM_FILTER_RULE_NET = 1 << 1,
MM_FILTER_RULE_CDC_WDM = 1 << 2,
MM_FILTER_RULE_TTY = 1 << 3,
MM_FILTER_RULE_TTY_VIRTUAL_CONSOLE = 1 << 4,
MM_FILTER_RULE_TTY_BLACKLIST = 1 << 5,
MM_FILTER_RULE_TTY_MANUAL_SCAN_ONLY = 1 << 6,
MM_FILTER_RULE_TTY_PLATFORM_DRIVER = 1 << 7,
MM_FILTER_RULE_TTY_BLACKLIST = 1 << 4,
MM_FILTER_RULE_TTY_MANUAL_SCAN_ONLY = 1 << 5,
MM_FILTER_RULE_TTY_PLATFORM_DRIVER = 1 << 6,
} MMFilterRule;
MMFilter *mm_filter_new (MMFilterRule enabled_rules);