diff options
author | Luis de Bethencourt <luisbg@kernel.org> | 2018-01-23 14:38:03 +0100 |
---|---|---|
committer | James Hogan <jhogan@kernel.org> | 2018-01-24 12:17:20 +0100 |
commit | cc4804448c321a82309756be68a5bac7cb1740d0 (patch) | |
tree | 279d246f98e1d862c89ac8acb7962fe3ee25473c /arch/mips/include/asm/checksum.h | |
parent | MIPS: Watch: Avoid duplication of bits in mips_read_watch_registers (diff) | |
download | linux-cc4804448c321a82309756be68a5bac7cb1740d0.tar.xz linux-cc4804448c321a82309756be68a5bac7cb1740d0.zip |
MIPS: Fix trailing semicolon
The trailing semicolon is an empty statement that does no operation.
Removing it since it doesn't do anything.
Fixes: d0f0f63ac137 ("MIPS: Rewrite csum_fold to plain C.")
Signed-off-by: Luis de Bethencourt <luisbg@kernel.org>
Cc: Joe Perches <joe@perches.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/18517/
Signed-off-by: James Hogan <jhogan@kernel.org>
Diffstat (limited to 'arch/mips/include/asm/checksum.h')
-rw-r--r-- | arch/mips/include/asm/checksum.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/checksum.h b/arch/mips/include/asm/checksum.h index 77cad232a1c6..e8161e4dfde7 100644 --- a/arch/mips/include/asm/checksum.h +++ b/arch/mips/include/asm/checksum.h @@ -110,7 +110,7 @@ __wsum csum_partial_copy_nocheck(const void *src, void *dst, */ static inline __sum16 csum_fold(__wsum csum) { - u32 sum = (__force u32)csum;; + u32 sum = (__force u32)csum; sum += (sum << 16); csum = (sum < csum); |