Merge branch 'for-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu
[linux-2.6-microblaze.git] / crypto / morus1280.c
index d057cf5..3889c18 100644 (file)
@@ -385,14 +385,11 @@ static void crypto_morus1280_final(struct morus1280_state *state,
                                   struct morus1280_block *tag_xor,
                                   u64 assoclen, u64 cryptlen)
 {
-       u64 assocbits = assoclen * 8;
-       u64 cryptbits = cryptlen * 8;
-
        struct morus1280_block tmp;
        unsigned int i;
 
-       tmp.words[0] = cpu_to_le64(assocbits);
-       tmp.words[1] = cpu_to_le64(cryptbits);
+       tmp.words[0] = assoclen * 8;
+       tmp.words[1] = cryptlen * 8;
        tmp.words[2] = 0;
        tmp.words[3] = 0;