From: Dan Carpenter <dan.carpenter@xxxxxxxxxx> 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@xxxxxxxxxx> Applied to net-next, thanks.