[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87r22ed22t.fsf@geanix.com>
Date: Mon, 11 Nov 2019 13:34:02 +0100
From: Esben Haabendal <esben@...nix.com>
To: Zheng Yongjun <zhengyongjun3@...wei.com>
Cc: <linux-kernel@...r.kernel.org>, Hulk Robot <hulkci@...wei.com>
Subject: Re: [PATCH] net: ll_temac: Remove set but not used variable 'start_p'
Zheng Yongjun <zhengyongjun3@...wei.com> writes:
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/ethernet/xilinx/ll_temac_main.c: In function temac_start_xmit:
> drivers/net/ethernet/xilinx/ll_temac_main.c:737:13: warning: variable start_p set but not used [-Wunused-but-set-variable]
>
> start_p is never used, so remove it.
>
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: Zheng Yongjun <zhengyongjun3@...wei.com>
Acked-by: Esben Haabendal <esben@...nix.com>
Powered by blists - more mailing lists