[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190201.095933.386906135442329993.davem@davemloft.net>
Date: Fri, 01 Feb 2019 09:59:33 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: linyunsheng@...wei.com, f.fainelli@...il.com, wang6495@....edu,
borisp@...lanox.com, ilyal@...lanox.com, ecree@...arflare.com,
mkubecek@...e.cz, ynorov@...iumnetworks.com,
jakub.kicinski@...ronome.com, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH net] ethtool: remove unnecessary check in
ethtool_get_regs()
From: Dan Carpenter <dan.carpenter@...cle.com>
Date: Fri, 1 Feb 2019 11:24:06 +0300
> We recently changed this function in commit f9fc54d313fa ("ethtool:
> check the return value of get_regs_len") such that if "reglen" is zero
> we return directly. That means we can remove this condition as well.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Applied to net-next, thanks.
Powered by blists - more mailing lists