Skip to content
Commit e7fb06a1 authored by Peter Wu's avatar Peter Wu Committed by David S. Miller
Browse files

r8169,sis190: remove unnecessary length check



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: default avatarBen Hutchings <bhutchings@solarflare.com>
Signed-off-by: default avatarPeter Wu <lekensteyn@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d765bb41
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment