All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 01/11] udevng: Remove gps from setup_gobi
@ 2024-07-11 16:46 Denis Kenzior
  2024-07-11 16:46 ` [PATCH v2 02/11] build: Require at least version 0.67 when building with external ELL Denis Kenzior
                   ` (10 more replies)
  0 siblings, 11 replies; 13+ messages in thread
From: Denis Kenzior @ 2024-07-11 16:46 UTC (permalink / raw)
  To: ofono; +Cc: Steve Schrock

From: Steve Schrock <steve.schrock@getcruise.com>

Even when the gps variable was set, it was not actually used for
anything.
---
 plugins/udevng.c | 14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)

diff --git a/plugins/udevng.c b/plugins/udevng.c
index 8e116c6605ea..1c56e2ea62d3 100644
--- a/plugins/udevng.c
+++ b/plugins/udevng.c
@@ -355,7 +355,6 @@ static gboolean setup_gobi(struct modem_info *modem)
 {
 	const struct device_info *qmi = NULL;
 	const struct device_info *net = NULL;
-	const char *gps = NULL;
 	GSList *list;
 
 	DBG("%s", modem->syspath);
@@ -373,23 +372,12 @@ static gboolean setup_gobi(struct modem_info *modem)
 			qmi = info;
 		else if (g_strcmp0(subsystem, "net") == 0) /* wwan */
 			net = info;
-		else if (g_strcmp0(subsystem, "tty") == 0) {
-			if (g_strcmp0(info->interface, "255/255/255") == 0) {
-				if (g_strcmp0(info->number, "03") == 0)
-					gps = info->devnode; /* gobi */
-			} else if (g_strcmp0(info->interface, "255/0/0") == 0) {
-				if (g_strcmp0(info->number, "01") == 0)
-					gps = info->devnode; /* ec20 */
-				/* ignore the 3rd device second AT/mdm iface */
-			}
-		}
 	}
 
 	if (qmi == NULL || net == NULL)
 		return FALSE;
 
-	DBG("qmi=%s net=%s gps=%s",
-			qmi->devnode, get_ifname(net), gps);
+	DBG("qmi=%s net=%s", qmi->devnode, get_ifname(net));
 
 	if (setup_qmi_qmux(modem, qmi, net) < 0)
 		return FALSE;
-- 
2.45.2


^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-07-11 17:53 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-11 16:46 [PATCH v2 01/11] udevng: Remove gps from setup_gobi Denis Kenzior
2024-07-11 16:46 ` [PATCH v2 02/11] build: Require at least version 0.67 when building with external ELL Denis Kenzior
2024-07-11 16:46 ` [PATCH v2 03/11] Release 2.9 Denis Kenzior
2024-07-11 16:46 ` [PATCH v2 04/11] gobi: Limit number of premultiplexed contexts to 4 Denis Kenzior
2024-07-11 16:50   ` Denis Kenzior
2024-07-11 16:46 ` [PATCH v2 05/11] gobi: Request dedicated WDS services for contexts Denis Kenzior
2024-07-11 16:46 ` [PATCH v2 06/11] qmi: Enable _auto_ use for some classes Denis Kenzior
2024-07-11 16:46 ` [PATCH v2 07/11] qmi: gprs-context: Declare qmi_service objects using _auto_ Denis Kenzior
2024-07-11 16:46 ` [PATCH v2 08/11] qmi: Pass two dedicated WDS services to gprs-context Denis Kenzior
2024-07-11 16:46 ` [PATCH v2 09/11] qmi: gprs-context: Remove parsing of unused TLVs Denis Kenzior
2024-07-11 16:46 ` [PATCH v2 10/11] qmi: gprs-context: Treat IP family TLV as mandatory Denis Kenzior
2024-07-11 16:46 ` [PATCH v2 11/11] qmi: gprs-context: Set up WDS service for IPv6 Denis Kenzior
2024-07-11 17:53 ` [PATCH v2 01/11] udevng: Remove gps from setup_gobi patchwork-bot+ofono

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.