am 9680eaa1: Merge "fs_mgr: remove some dead code"

* commit '9680eaa182460035265cdac7d92f09feaff4d710':
  fs_mgr: remove some dead code
This commit is contained in:
Elliott Hughes 2015-05-07 20:21:34 +00:00 committed by Android Git Automerger
commit 8b41a4a3ca

View file

@ -934,10 +934,6 @@ int fs_mgr_setup_verity(struct fstab_rec *fstab) {
struct dm_ioctl *io = (struct dm_ioctl *) buffer; struct dm_ioctl *io = (struct dm_ioctl *) buffer;
char *mount_point = basename(fstab->mount_point); char *mount_point = basename(fstab->mount_point);
// set the dm_ioctl flags
io->flags |= 1;
io->target_count = 1;
// get verity filesystem size // get verity filesystem size
if (get_fs_size(fstab->fs_type, fstab->blk_device, &device_size) < 0) { if (get_fs_size(fstab->fs_type, fstab->blk_device, &device_size) < 0) {
return retval; return retval;