mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
net: Remove unnecessary semicolons after switch statements
Also added an explicit break; to avoid a fallthrough in net/ipv4/tcp_input.c Signed-off-by: Joe Perches <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
935e2a26b8
commit
ccbd6a5a4f
7 changed files with 12 additions and 11 deletions
|
|
@ -55,7 +55,7 @@ static inline unsigned __xfrm_src_hash(xfrm_address_t *daddr,
|
|||
case AF_INET6:
|
||||
h ^= __xfrm6_daddr_saddr_hash(daddr, saddr);
|
||||
break;
|
||||
};
|
||||
}
|
||||
return (h ^ (h >> 16)) & hmask;
|
||||
}
|
||||
|
||||
|
|
@ -102,7 +102,7 @@ static inline unsigned int __sel_hash(struct xfrm_selector *sel, unsigned short
|
|||
|
||||
h = __xfrm6_daddr_saddr_hash(daddr, saddr);
|
||||
break;
|
||||
};
|
||||
}
|
||||
h ^= (h >> 16);
|
||||
return h & hmask;
|
||||
}
|
||||
|
|
@ -119,7 +119,7 @@ static inline unsigned int __addr_hash(xfrm_address_t *daddr, xfrm_address_t *sa
|
|||
case AF_INET6:
|
||||
h = __xfrm6_daddr_saddr_hash(daddr, saddr);
|
||||
break;
|
||||
};
|
||||
}
|
||||
h ^= (h >> 16);
|
||||
return h & hmask;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue