diff options
author | Luis de Bethencourt <luisbg@kernel.org> | 2018-01-23 13:38:03 +0000 |
---|---|---|
committer | James Hogan <jhogan@kernel.org> | 2018-01-24 11:17:20 +0000 |
commit | cc4804448c321a82309756be68a5bac7cb1740d0 (patch) | |
tree | 279d246f98e1d862c89ac8acb7962fe3ee25473c /arch/mips | |
parent | 705e71ad70c24b5fea4db1234d20d0bbff5491eb (diff) | |
download | linux-cc4804448c321a82309756be68a5bac7cb1740d0.tar.bz2 |
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')
-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); |