[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20181128.111026.490482201236586536.davem@davemloft.net>
Date: Wed, 28 Nov 2018 11:10:26 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: yuehaibing@...wei.com
Cc: subashab@...eaurora.org, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH net-next] net: qualcomm: rmnet: remove set but not used
variables 'ip_family, fc_seq, qos_id'
From: YueHaibing <yuehaibing@...wei.com>
Date: Wed, 28 Nov 2018 20:31:42 +0800
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c:26:6:
> warning: variable 'ip_family' set but not used [-Wunused-but-set-variable]
> drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c:27:6:
> warning: variable 'fc_seq' set but not used [-Wunused-but-set-variable]
> drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c:28:6:
> warning: variable 'qos_id' set but not used [-Wunused-but-set-variable]
>
> It never used since introduction in commit
> ceed73a2cf4a ("drivers: net: ethernet: qualcomm: rmnet: Initial implementation")
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Applied.
Powered by blists - more mailing lists