diff options
author | Harsh Jain <harsh@chelsio.com> | 2018-03-06 08:07:48 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-03-16 18:35:45 +0300 |
commit | 125d01caae3030451a00a11dbd4e8cecae4efab3 (patch) | |
tree | c1a121f8ecd38202315c0a760219771c93164536 /drivers/crypto/chelsio/chcr_algo.h | |
parent | a6ab6402c4e5ffd3379ba6adfbd2c74101a879c0 (diff) | |
download | linux-125d01caae3030451a00a11dbd4e8cecae4efab3.tar.xz |
crypto: chelsio - Use kernel round function to align lengths
Replace DIV_ROUND_UP to roundup or rounddown
Signed-off-by: Harsh Jain <harsh@chelsio.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/chelsio/chcr_algo.h')
-rw-r--r-- | drivers/crypto/chelsio/chcr_algo.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/crypto/chelsio/chcr_algo.h b/drivers/crypto/chelsio/chcr_algo.h index d1673a5d4bf5..7742b65a9ac5 100644 --- a/drivers/crypto/chelsio/chcr_algo.h +++ b/drivers/crypto/chelsio/chcr_algo.h @@ -216,7 +216,6 @@ #define FILL_CMD_MORE(immdatalen) htonl(ULPTX_CMD_V(ULP_TX_SC_IMM) |\ ULP_TX_SC_MORE_V((immdatalen))) #define MAX_NK 8 -#define ROUND_16(bytes) ((bytes) & 0xFFFFFFF0) #define MAX_DSGL_ENT 32 #define MIN_CIPHER_SG 1 /* IV */ #define MIN_AUTH_SG 1 /* IV */ |