[PATCH 1/2] sim-qmi: remove unused variables

Aleksander Morgado aleksander at aleksander.es
Fri Aug 4 13:18:06 UTC 2017


On 04/08/17 00:55, Ben Chan wrote:
> ---
>  src/mm-sim-qmi.c | 12 ------------
>  1 file changed, 12 deletions(-)
> 

Pushed to git master, thanks.

> diff --git a/src/mm-sim-qmi.c b/src/mm-sim-qmi.c
> index 2ae15147..725e073e 100644
> --- a/src/mm-sim-qmi.c
> +++ b/src/mm-sim-qmi.c
> @@ -480,9 +480,6 @@ dms_uim_verify_pin_ready (QmiClientDms *client,
>  {
>      QmiMessageDmsUimVerifyPinOutput *output = NULL;
>      GError *error = NULL;
> -    MMSimQmi *self;
> -
> -    self = g_task_get_source_object (task);
>  
>      output = qmi_client_dms_uim_verify_pin_finish (client, res, &error);
>      if (!output) {
> @@ -642,9 +639,6 @@ dms_uim_unblock_pin_ready (QmiClientDms *client,
>  {
>      QmiMessageDmsUimUnblockPinOutput *output = NULL;
>      GError *error = NULL;
> -    MMSimQmi *self;
> -
> -    self = g_task_get_source_object (task);
>  
>      output = qmi_client_dms_uim_unblock_pin_finish (client, res, &error);
>      if (!output) {
> @@ -812,9 +806,6 @@ dms_uim_change_pin_ready (QmiClientDms *client,
>  {
>      QmiMessageDmsUimChangePinOutput *output = NULL;
>      GError *error = NULL;
> -    MMSimQmi *self;
> -
> -    self = g_task_get_source_object (task);
>  
>      output = qmi_client_dms_uim_change_pin_finish (client, res, &error);
>      if (!output) {
> @@ -981,9 +972,6 @@ dms_uim_set_pin_protection_ready (QmiClientDms *client,
>  {
>      QmiMessageDmsUimSetPinProtectionOutput *output = NULL;
>      GError *error = NULL;
> -    MMSimQmi *self;
> -
> -    self = g_task_get_source_object (task);
>  
>      output = qmi_client_dms_uim_set_pin_protection_finish (client, res, &error);
>      if (!output) {
> 


-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list