Merge "vold: remove unused code for CONFIG_HW_DISK_ENCRYPTION"
This commit is contained in:
commit
4e6e7e6c70
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.
|
/* 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;
|
||||||
|
|
Loading…
Reference in a new issue