dual-image: Remove the functional check on delete

The code was checking if the version is functional and report error on
delete a version.
It worked OK because there will not be a case to upload a same version.

For the dual image case, it is possible to upload a version that has
the same version as either primary or secondary flash, so the check will
prevent deleting the version that is uploaded if it has the same
version.

The check is actually not necessary because the versions it manages are
always uploaded and thus are always OK to remove.

Tested: Verify it is possible to delete a version that is uploaded and
        has the same version string as the running image.

Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: I429eb34d18a7372b71463723fcaadbc7fd879164
1 file changed