]> 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)
commit722eee9fd3c45f68c585d042c7177d6cbeebd2d6
treead6e1df2e4abbc6b7fc70fbe35c4cb8d4c41646f
parentbcfecabc7faeeb57053070c733096e4d94a4f410
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