[ft-lib/dm-ioctl] Remove a couple of fixmes

This commit is contained in:
Joe Thornber 2017-10-26 13:13:44 +01:00
parent cfddb495fb
commit d4edef51b0
1 changed files with 3 additions and 2 deletions

View File

@ -304,6 +304,9 @@ static int dev_cmd(struct dm_interface *dmi, const char *name, int request, unsi
int r;
struct dm_ioctl *ctl = alloc_ctl(0);
if (!ctl)
return -ENOMEM;
ctl->flags = flags;
r = copy_name(ctl, name);
if (r) {
@ -400,8 +403,6 @@ static struct target *tb_get(struct target_builder *tb)
}
//----------------------------------------------------------------
// FIXME: provide some way of freeing a target list.
// FIXME: check the result from alloc_ctl is always being checked.
static size_t calc_load_payload(struct target *t)
{