crypto/chtls:Fix compile error when CONFIG_IPV6 is disabled
authorVinay Kumar Yadav <vinay.yadav@chelsio.com>
Thu, 4 Jun 2020 20:23:44 +0000 (01:53 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Jun 2020 23:02:29 +0000 (16:02 -0700)
commita624a86510adaeefd33aac224751e89348596d2a
tree0747eecfd271aaf456dac6455124fe01cbc08a74
parent6761893eeaa378321198f06194ef2e1e4e8a4ad4
crypto/chtls:Fix compile error when CONFIG_IPV6 is disabled

Fix compile errors,warnings when CONFIG_IPV6 is disabled and
inconsistent indenting.

v1->v2:
- Corrected errors/warnings reported when used newer gcc version,
  unused array.

Fixes: 6abde0b24122 ("crypto/chtls: IPv6 support for inline TLS")
Signed-off-by: Vinay Kumar Yadav <vinay.yadav@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/crypto/chelsio/chcr_algo.h
drivers/crypto/chelsio/chtls/chtls_cm.c
drivers/crypto/chelsio/chtls/chtls_main.c