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:
commit
48b6b1c767
1 changed files with 0 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue