diff options
author | Jakub Kicinski <kuba@kernel.org> | 2021-04-16 01:53:14 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-16 03:08:29 +0300 |
commit | 3d7cc109ecf76afc74f40eb71d5c9baa03c167a3 (patch) | |
tree | 36923de86a7e74cb33d8f22426c323b0a105546d /drivers/eisa | |
parent | c5797f8a64158f724238d13fa5a4b351b03fe42d (diff) | |
download | linux-3d7cc109ecf76afc74f40eb71d5c9baa03c167a3.tar.xz |
ethtool: fec_prepare_data() - jump to error handling
Refactor fec_prepare_data() a little bit to skip the body
of the function and exit on error. Currently the code
depends on the fact that we only have one call which
may fail between ethnl_ops_begin() and ethnl_ops_complete()
and simply saves the error code. This will get hairy with
the stats also being queried.
No functional changes.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/eisa')
0 files changed, 0 insertions, 0 deletions