summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksandermj@chromium.org>2023-11-20 12:59:57 +0000
committerAleksander Morgado <aleksander@aleksander.es>2023-11-20 14:42:03 +0000
commit84c08fa882a2e3aceee87e72a85d029b1bd4a75e (patch)
treeb6cde1556c82aa7772f8e8691460af29eda97c81
parentcdc5d05daa28e9bb13014a7cecad21ce8643fe3e (diff)
libqmi-glib,udev: remove GOTO in ownership change rule
Just a simplification.
-rw-r--r--src/libqmi-glib/76-qmi-device-ownership.rules.in6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/libqmi-glib/76-qmi-device-ownership.rules.in b/src/libqmi-glib/76-qmi-device-ownership.rules.in
index 168520b..22a7e7b 100644
--- a/src/libqmi-glib/76-qmi-device-ownership.rules.in
+++ b/src/libqmi-glib/76-qmi-device-ownership.rules.in
@@ -2,10 +2,6 @@
ACTION!="add|change|move", GOTO="qmi_device_ownership_end"
-KERNEL=="cdc-wdm*", DRIVERS=="qmi_wwan", SUBSYSTEM=="usbmisc", GOTO="qmi_device_ownership_change"
-GOTO="qmi_device_ownership_end"
-
-LABEL="qmi_device_ownership_change"
-OWNER="@QMI_USERNAME@"
+KERNEL=="cdc-wdm*", DRIVERS=="qmi_wwan", SUBSYSTEM=="usbmisc", OWNER="@QMI_USERNAME@"
LABEL="qmi_device_ownership_end"