diff options
Diffstat (limited to 'arch/mips/lib')
-rw-r--r-- | arch/mips/lib/csum_partial.S | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/mips/lib/csum_partial.S b/arch/mips/lib/csum_partial.S index edac9892c51a..201d82ee4c71 100644 --- a/arch/mips/lib/csum_partial.S +++ b/arch/mips/lib/csum_partial.S | |||
@@ -276,11 +276,6 @@ LEAF(csum_partial) | |||
276 | dsra32 sum, sum, 0 | 276 | dsra32 sum, sum, 0 |
277 | addu sum, v1 | 277 | addu sum, v1 |
278 | #endif | 278 | #endif |
279 | sll v1, sum, 16 | ||
280 | addu sum, v1 | ||
281 | sltu v1, sum, v1 | ||
282 | srl sum, sum, 16 | ||
283 | addu sum, v1 | ||
284 | 279 | ||
285 | /* odd buffer alignment? */ | 280 | /* odd buffer alignment? */ |
286 | beqz t7, 1f | 281 | beqz t7, 1f |
@@ -678,11 +673,6 @@ EXC( sb t0, NBYTES-2(dst), .Ls_exc) | |||
678 | dsra32 sum, sum, 0 | 673 | dsra32 sum, sum, 0 |
679 | addu sum, v1 | 674 | addu sum, v1 |
680 | #endif | 675 | #endif |
681 | sll v1, sum, 16 | ||
682 | addu sum, v1 | ||
683 | sltu v1, sum, v1 | ||
684 | srl sum, sum, 16 | ||
685 | addu sum, v1 | ||
686 | 676 | ||
687 | /* odd buffer alignment? */ | 677 | /* odd buffer alignment? */ |
688 | beqz odd, 1f | 678 | beqz odd, 1f |