crypto: sha-mb - Cleanup code to use || instead of |
[deliverable/linux.git] / arch / x86 / crypto / sha1-mb / sha1_mb.c
index 561b2867b8788e636c77612d78cfd7a3f03e4a0a..9e5b67127a094f3f3dbf61d2bc93a011e64731bc 100644 (file)
@@ -304,7 +304,7 @@ static struct sha1_hash_ctx *sha1_ctx_mgr_submit(struct sha1_ctx_mgr *mgr,
         * Or if the user's buffer contains less than a whole block,
         * append as much as possible to the extra block.
         */
-       if ((ctx->partial_block_buffer_length) | (len < SHA1_BLOCK_SIZE)) {
+       if (ctx->partial_block_buffer_length || len < SHA1_BLOCK_SIZE) {
                /*
                 * Compute how many bytes to copy from user buffer into
                 * extra block
This page took 0.038935 seconds and 5 git commands to generate.