diff options
| author | 2013-08-17 01:07:53 +0200 | |
|---|---|---|
| committer | 2013-08-20 14:57:42 -0700 | |
| commit | e7fb06a1b4d1c5bdcbbf78f7c7e938835395bcdb (patch) | |
| tree | 869b81ffd62cafc21eaf5f75b049dc9a8c10bca5 /include/linux/flex_array.h | |
| parent | drivers/net: enic: Generate notification of hardware crash (diff) | |
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: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Peter Wu <lekensteyn@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/flex_array.h')
0 files changed, 0 insertions, 0 deletions
