[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180811.120645.2187038036923096085.davem@davemloft.net>
Date: Sat, 11 Aug 2018 12:06:45 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yuehaibing@...wei.com
Cc: jdmason@...zu.us, keescook@...omium.org, colin.king@...onical.com,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
gustavo@...eddedor.com, bhelgaas@...gle.com
Subject: Re: [PATCH net-next] vxge: remove set but not used variable
'req_out','status' and 'ret'
From: YueHaibing <yuehaibing@...wei.com>
Date: Fri, 10 Aug 2018 14:08:37 +0800
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/ethernet/neterion/vxge/vxge-config.c:1097:6: warning:
> variable 'ret' set but not used [-Wunused-but-set-variable]
> drivers/net/ethernet/neterion/vxge/vxge-config.c:2263:6: warning:
> variable 'req_out' set but not used [-Wunused-but-set-variable]
> drivers/net/ethernet/neterion/vxge/vxge-config.c:2262:22: warning:
> variable 'status' set but not used [-Wunused-but-set-variable]
> drivers/net/ethernet/neterion/vxge/vxge-config.c:2360:22: warning:
> variable 'status' set but not used [-Wunused-but-set-variable]
> enum vxge_hw_status status = VXGE_HW_OK;
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Applied.
Powered by blists - more mailing lists