summaryrefslogtreecommitdiff
path: root/drivers/net/ipa/ipa_mem.c
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2021-04-09 13:07:19 -0500
committerJakub Kicinski <kuba@kernel.org>2021-04-09 20:57:25 -0700
commit077e770f2601e9786331c00aa6f8b02cfdbc7fd9 (patch)
tree4a70c87ca2fe849b5ed5f34af92740fbbff304c4 /drivers/net/ipa/ipa_mem.c
parent57f63faf05625db10a49743287d3cbcb820d2afd (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>
Diffstat (limited to 'drivers/net/ipa/ipa_mem.c')
0 files changed, 0 insertions, 0 deletions