commit | 077e770f2601e9786331c00aa6f8b02cfdbc7fd9 | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@linaro.org> | Fri Apr 09 13:07:19 2021 -0500 |
committer | Jakub Kicinski <kuba@kernel.org> | Fri Apr 09 20:57:25 2021 -0700 |
tree | 4a70c87ca2fe849b5ed5f34af92740fbbff304c4 | |
parent | 57f63faf05625db10a49743287d3cbcb820d2afd [diff] |
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>