input: remove sysfs from unique mapping.

This commit is contained in:
Sorgelig
2023-05-21 06:25:24 +08:00
parent 6e7c20c243
commit 51470c27cc

View File

@@ -3399,7 +3399,6 @@ void mergedevs()
int unique_hash = str_hash(input[i].id);
unique_hash = str_hash(input[i].mac, unique_hash);
unique_hash = str_hash(input[i].idstr, unique_hash);
unique_hash = str_hash(input[i].sysfs, unique_hash);
input[i].unique_hash = unique_hash;
input[i].timeout = (strlen(uniq) && strstr(sysfs, "bluetooth")) ? (cfg.bt_auto_disconnect * 10) : 0;