diff options
author | Roland Dreier <roland@purestorage.com> | 2012-07-06 05:39:34 (GMT) |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2012-07-09 01:04:32 (GMT) |
commit | d90f9b3591b3b5fa86178e318008fc1c531a84dc (patch) | |
tree | 4d822267a4b756900a50b215c42807e8b70f4716 /drivers/infiniband/core/cma.c | |
parent | 6887a4131da3adaab011613776d865f4bcfb5678 (diff) | |
download | linux-fsl-qoriq-d90f9b3591b3b5fa86178e318008fc1c531a84dc.tar.xz |
IB: Use IS_ENABLED(CONFIG_IPV6)
Instead of testing defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/core/cma.c')
-rw-r--r-- | drivers/infiniband/core/cma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/core/cma.c b/drivers/infiniband/core/cma.c index 2e826f9..4d8f592 100644 --- a/drivers/infiniband/core/cma.c +++ b/drivers/infiniband/core/cma.c @@ -2278,7 +2278,7 @@ static int cma_get_port(struct rdma_id_private *id_priv) static int cma_check_linklocal(struct rdma_dev_addr *dev_addr, struct sockaddr *addr) { -#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE) +#if IS_ENABLED(CONFIG_IPV6) struct sockaddr_in6 *sin6; if (addr->sa_family != AF_INET6) |