diff options
author | Igor Maravić <igorm@etf.rs> | 2011-12-12 02:58:22 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-12-16 15:49:51 -0500 |
commit | a3bf7ae9ae1036636d8900b35a3880e871eceb39 (patch) | |
tree | e82ab7e2598b756d44bdfe67b7b4ec434f5ff3cd /net/core/secure_seq.c | |
parent | ecedb6ae908e3a8a19942da921a3ffb1c5a0d6ab (diff) | |
download | blackbird-op-linux-a3bf7ae9ae1036636d8900b35a3880e871eceb39.tar.gz blackbird-op-linux-a3bf7ae9ae1036636d8900b35a3880e871eceb39.zip |
net:core: use IS_ENABLED
Use IS_ENABLED(CONFIG_FOO)
instead of defined(CONFIG_FOO) || defined (CONFIG_FOO_MODULE)
Signed-off-by: Igor Maravić <igorm@etf.rs>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/secure_seq.c')
-rw-r--r-- | net/core/secure_seq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/secure_seq.c b/net/core/secure_seq.c index 9fbca46f3e74..6fd44606fdd1 100644 --- a/net/core/secure_seq.c +++ b/net/core/secure_seq.c @@ -134,7 +134,7 @@ u32 secure_ipv4_port_ephemeral(__be32 saddr, __be32 daddr, __be16 dport) EXPORT_SYMBOL_GPL(secure_ipv4_port_ephemeral); #endif -#if defined(CONFIG_IP_DCCP) || defined(CONFIG_IP_DCCP_MODULE) +#if IS_ENABLED(CONFIG_IP_DCCP) u64 secure_dccp_sequence_number(__be32 saddr, __be32 daddr, __be16 sport, __be16 dport) { |