mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
staging: ccree: replace bit shift with BIT macro
CC_CTX_SIZE was being defined using a hand rolled bit shift operation. Replace with use of BIT macro. Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ed5210cb07
commit
6562e7db13
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@
|
|||
#define CC_CTX_SIZE_LOG2 7
|
||||
#endif
|
||||
#endif
|
||||
#define CC_CTX_SIZE (1 << CC_CTX_SIZE_LOG2)
|
||||
#define CC_CTX_SIZE BIT(CC_CTX_SIZE_LOG2)
|
||||
#define CC_DRV_CTX_SIZE_WORDS (CC_CTX_SIZE >> 2)
|
||||
|
||||
#define CC_DRV_DES_IV_SIZE 8
|
||||
|
|
|
|||
Loading…
Reference in a new issue