[PATCH 2/2] port-probe: remove unused variable
Aleksander Morgado
aleksander at aleksander.es
Fri Aug 4 13:18:12 UTC 2017
On 04/08/17 00:55, Ben Chan wrote:
> ---
> src/mm-port-probe.c | 2 --
> 1 file changed, 2 deletions(-)
>
Pushed to git master, thanks.
> 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;
>
>
--
Aleksander
https://aleksander.es
More information about the ModemManager-devel
mailing list