[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200507.130444.617282849452789073.davem@davemloft.net>
Date: Thu, 07 May 2020 13:04:44 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yanaijie@...wei.com
Cc: tariqt@...lanox.com, ast@...nel.org, daniel@...earbox.net,
kuba@...nel.org, hawk@...nel.org, john.fastabend@...il.com,
netdev@...r.kernel.org, linux-rdma@...r.kernel.org,
linux-kernel@...r.kernel.org, bpf@...r.kernel.org
Subject: Re: [PATCH net-next] net: mlx4: remove unneeded variable "err" in
mlx4_en_ethtool_add_mac_rule()
From: Jason Yan <yanaijie@...wei.com>
Date: Thu, 7 May 2020 19:08:57 +0800
> Fix the following coccicheck warning:
>
> drivers/net/ethernet/mellanox/mlx4/en_ethtool.c:1396:5-8: Unneeded
> variable: "err". Return "0" on line 1411
>
> Signed-off-by: Jason Yan <yanaijie@...wei.com>
Applied.
Powered by blists - more mailing lists