crypto/chcr: error seen if CONFIG_CHELSIO_TLS_DEVICE isn't set
authorRohit Maheshwari <rohitm@chelsio.com>
Wed, 3 Jun 2020 04:28:13 +0000 (09:58 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Jun 2020 22:31:47 +0000 (15:31 -0700)
commitef1c75593e770aff8749e902aa0deb6855a3f485
treecfe2acf4bfac6eb262aeb4c899c003c14cdf095f
parentcb8e59cc87201af93dfbb6c3dccc8fcad72a09c2
crypto/chcr: error seen if CONFIG_CHELSIO_TLS_DEVICE isn't set

cxgb4_uld_in_use() is used only by cxgb4_ktls_det_feature() which
is under CONFIG_CHELSIO_TLS_DEVICE macro.

Fixes: a3ac249a1ab5 ("cxgb4/chcr: Enable ktls settings at run time")
Signed-off-by: Rohit Maheshwari <rohitm@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c