]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: get rid of empty IPA functions
authorAlex Elder <elder@linaro.org>
Fri, 9 Apr 2021 18:07:20 +0000 (13:07 -0500)
committerJakub Kicinski <kuba@kernel.org>
Sat, 10 Apr 2021 03:57:25 +0000 (20:57 -0700)
commit74858b63c47cfbacafb26ea9701b26ffa18acd4a
treead6e1df2e4abbc6b7fc70fbe35c4cb8d4c41646f
parent077e770f2601e9786331c00aa6f8b02cfdbc7fd9
net: ipa: get rid of empty IPA functions

There are place holder functions in the IPA code that do nothing.
For the most part these are inverse functions, for example, once the
routing or filter tables are set up there is no need to perform any
matching teardown activity at shutdown, or in the case of an error.

These can be safely removed, resulting in some code simplification.
Add comments in these spots making it explicit that there is no
inverse.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ipa/ipa_main.c
drivers/net/ipa/ipa_mem.c
drivers/net/ipa/ipa_mem.h
drivers/net/ipa/ipa_resource.c
drivers/net/ipa/ipa_resource.h
drivers/net/ipa/ipa_table.c
drivers/net/ipa/ipa_table.h