diff options
| author | Dan Carpenter <[email protected]> | 2019-02-01 11:24:06 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-02-01 09:58:07 -0800 |
| commit | ef76c77a0561e83d457937621ce2273b0580e345 (patch) | |
| tree | 9252d830ded234562c5d61477d0092410de54fd7 /tools/perf/scripts/python/netdev-times.py | |
| parent | fa6821cbf1d9724284ef0906c9a01a5fbf13a35c (diff) | |
ethtool: remove unnecessary check in ethtool_get_regs()
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions