[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200919.141433.905827192285572567.davem@davemloft.net>
Date: Sat, 19 Sep 2020 14:14:33 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: zhengyongjun3@...wei.com
Cc: jeffrey.t.kirsher@...el.com, kuba@...nel.org,
intel-wired-lan@...ts.osuosl.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] net: e1000: Remove set but not used variable
From: Zheng Yongjun <zhengyongjun3@...wei.com>
Date: Sat, 19 Sep 2020 09:50:20 +0800
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/ethernet/intel/e1000/e1000_hw.c: In function e1000_phy_init_script:
> drivers/net/ethernet/intel/e1000/e1000_hw.c:132:6: warning: variable ‘ret_val’ set but not used [-Wunused-but-set-variable]
>
> `ret_val` is never used, so remove it.
>
> Signed-off-by: Zheng Yongjun <zhengyongjun3@...wei.com>
Applied.
Powered by blists - more mailing lists