Merge "vold: remove unused code for CONFIG_HW_DISK_ENCRYPTION"

This commit is contained in:
Treehugger Robot 2020-09-16 01:24:16 +00:00 committed by Gerrit Code Review
commit 4e6e7e6c70

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.
* SD card association recommends it.
*/
#ifndef CONFIG_HW_DISK_ENCRYPTION
#define BLOCKS_AT_A_TIME 8
#else
#define BLOCKS_AT_A_TIME 1024
#endif
struct encryptGroupsData {
int realfd;