diff options
Diffstat (limited to 'net/xfrm/xfrm_hash.h')
-rw-r--r-- | net/xfrm/xfrm_hash.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/xfrm/xfrm_hash.h b/net/xfrm/xfrm_hash.h index 1396572d2ade..8e69533d2313 100644 --- a/net/xfrm/xfrm_hash.h +++ b/net/xfrm/xfrm_hash.h | |||
@@ -55,7 +55,7 @@ static inline unsigned __xfrm_src_hash(xfrm_address_t *daddr, | |||
55 | case AF_INET6: | 55 | case AF_INET6: |
56 | h ^= __xfrm6_daddr_saddr_hash(daddr, saddr); | 56 | h ^= __xfrm6_daddr_saddr_hash(daddr, saddr); |
57 | break; | 57 | break; |
58 | }; | 58 | } |
59 | return (h ^ (h >> 16)) & hmask; | 59 | return (h ^ (h >> 16)) & hmask; |
60 | } | 60 | } |
61 | 61 | ||
@@ -102,7 +102,7 @@ static inline unsigned int __sel_hash(struct xfrm_selector *sel, unsigned short | |||
102 | 102 | ||
103 | h = __xfrm6_daddr_saddr_hash(daddr, saddr); | 103 | h = __xfrm6_daddr_saddr_hash(daddr, saddr); |
104 | break; | 104 | break; |
105 | }; | 105 | } |
106 | h ^= (h >> 16); | 106 | h ^= (h >> 16); |
107 | return h & hmask; | 107 | return h & hmask; |
108 | } | 108 | } |
@@ -119,7 +119,7 @@ static inline unsigned int __addr_hash(xfrm_address_t *daddr, xfrm_address_t *sa | |||
119 | case AF_INET6: | 119 | case AF_INET6: |
120 | h = __xfrm6_daddr_saddr_hash(daddr, saddr); | 120 | h = __xfrm6_daddr_saddr_hash(daddr, saddr); |
121 | break; | 121 | break; |
122 | }; | 122 | } |
123 | h ^= (h >> 16); | 123 | h ^= (h >> 16); |
124 | return h & hmask; | 124 | return h & hmask; |
125 | } | 125 | } |