diff options
author | Alex Elder <elder@linaro.org> | 2021-04-09 21:07:19 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-04-10 06:57:25 +0300 |
commit | 077e770f2601e9786331c00aa6f8b02cfdbc7fd9 (patch) | |
tree | 4a70c87ca2fe849b5ed5f34af92740fbbff304c4 /drivers/net/ipa/ipa_table.h | |
parent | 57f63faf05625db10a49743287d3cbcb820d2afd (diff) | |
download | linux-077e770f2601e9786331c00aa6f8b02cfdbc7fd9.tar.xz |
net: ipa: ipa_stop() does not return an error
In ipa_modem_stop(), if the modem netdev pointer is non-null we call
ipa_stop(). We check for an error and if one is returned we handle
it. But ipa_stop() never returns an error, so this extra handling
is unnecessary. Simplify the code in ipa_modem_stop() based on the
knowledge no error handling is needed at this spot.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ipa/ipa_table.h')
0 files changed, 0 insertions, 0 deletions