[PATCH] broadband-bearer: remove unused 'self' variables
Aleksander Morgado
aleksander at aleksander.es
Mon Oct 22 09:24:21 UTC 2018
On 10/20/18 8:15 PM, Ben Chan wrote:
> ---
> src/mm-broadband-bearer.c | 5 -----
> 1 file changed, 5 deletions(-)
>
Pushed to git master, thanks.
> diff --git a/src/mm-broadband-bearer.c b/src/mm-broadband-bearer.c
> index 1b13921a..b5692d43 100644
> --- a/src/mm-broadband-bearer.c
> +++ b/src/mm-broadband-bearer.c
> @@ -1410,11 +1410,8 @@ data_flash_cdma_ready (MMPortSerial *data,
> GAsyncResult *res,
> GTask *task)
> {
> - MMBroadbandBearer *self;
> GError *error = NULL;
>
> - self = g_task_get_source_object (task);
> -
> mm_port_serial_flash_finish (data, res, &error);
>
> /* We kept the serial port open during connection, now we close that open
> @@ -1540,11 +1537,9 @@ data_flash_3gpp_ready (MMPortSerial *data,
> GAsyncResult *res,
> GTask *task)
> {
> - MMBroadbandBearer *self;
> DetailedDisconnectContext *ctx;
> GError *error = NULL;
>
> - self = g_task_get_source_object (task);
> ctx = g_task_get_task_data (task);
>
> mm_port_serial_flash_finish (data, res, &error);
>
--
Aleksander
https://aleksander.es
More information about the ModemManager-devel
mailing list