net/tls: Provide {__,}tls_driver_ctx() unconditionally
authorDimitris Michailidis <d.michailidis@fungible.com>
Wed, 9 Mar 2022 03:40:31 +0000 (19:40 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 10 Mar 2022 04:01:14 +0000 (20:01 -0800)
commit77f09e66f613e4801134c64d26a0be593588a42e
treefecd5ea21613f482652e07bdf3e78e3f94c2afbd
parent4a5eaa2fde59d08d0ca14f985a61c6c745555bbb
net/tls: Provide {__,}tls_driver_ctx() unconditionally

Having the definitions of {__,}tls_driver_ctx() under an #if
guard means code referencing them also needs to rely on the
preprocessor. The protection doesn't appear needed so make the
definitions unconditional.

Fixes: db37bc177dae ("net/funeth: add the data path")
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Suggested-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Dimitris Michailidis <dmichail@fungible.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/tls.h