[PATCH 2/2] port-probe: remove unused variable

Ben Chan benchan at chromium.org
Thu Aug 3 22:55:11 UTC 2017


---
 src/mm-port-probe.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/mm-port-probe.c b/src/mm-port-probe.c
index cfe0763c..640c319a 100644
--- a/src/mm-port-probe.c
+++ b/src/mm-port-probe.c
@@ -1431,12 +1431,10 @@ gboolean
 mm_port_probe_is_at (MMPortProbe *self)
 {
     const gchar *subsys;
-    const gchar *name;
 
     g_return_val_if_fail (MM_IS_PORT_PROBE (self), FALSE);
 
     subsys = mm_kernel_device_get_subsystem (self->priv->port);
-    name = mm_kernel_device_get_name (self->priv->port);
     if (g_str_equal (subsys, "net"))
         return FALSE;
 
-- 
2.14.0.rc1.383.gd1ce394fe2-goog



More information about the ModemManager-devel mailing list