Merge "vold: remove unused code for CONFIG_HW_DISK_ENCRYPTION" am: 4e6e7e6c70 am: c9548b9d9e

Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1427711

Change-Id: I65c09190aa8f6e61bda750980bfdcc06e0306d4b
This commit is contained in:
Treehugger Robot 2020-09-16 02:26:57 +00:00 committed by Automerger Merge Worker
commit 48b6b1c767

View file

@ -49,11 +49,7 @@ static inline int unix_write(int fd, const void* buff, int len) {
/* aligned 32K writes tends to make flash happy. /* aligned 32K writes tends to make flash happy.
* SD card association recommends it. * SD card association recommends it.
*/ */
#ifndef CONFIG_HW_DISK_ENCRYPTION
#define BLOCKS_AT_A_TIME 8 #define BLOCKS_AT_A_TIME 8
#else
#define BLOCKS_AT_A_TIME 1024
#endif
struct encryptGroupsData { struct encryptGroupsData {
int realfd; int realfd;