r8169,sis190: remove unnecessary length check
authorPeter Wu <lekensteyn@gmail.com>
Fri, 16 Aug 2013 23:07:53 +0000 (01:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Aug 2013 21:57:42 +0000 (14:57 -0700)
The ethtool core will lower the requested length to the one returned by
get_regs_len, therefore no additional check is needed in the get_regs
function.

Reported-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Peter Wu <lekensteyn@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found