bc: code shrink
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
2266c12a79
commit
cc4303f5e6
@ -1841,9 +1841,9 @@ static FAST_FUNC BC_STATUS zbc_num_k(BcNum *restrict a, BcNum *restrict b,
|
|||||||
RETURN_STATUS(BC_STATUS_SUCCESS);
|
RETURN_STATUS(BC_STATUS_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (a->len + b->len < BC_NUM_KARATSUBA_LEN
|
if (a->len < BC_NUM_KARATSUBA_LEN
|
||||||
|| a->len < BC_NUM_KARATSUBA_LEN
|
|
||||||
|| b->len < BC_NUM_KARATSUBA_LEN
|
|| b->len < BC_NUM_KARATSUBA_LEN
|
||||||
|
/* || a->len + b->len < BC_NUM_KARATSUBA_LEN - redundant check */
|
||||||
) {
|
) {
|
||||||
size_t i, j, len;
|
size_t i, j, len;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user