commit: Remove unused check
authorFam Zheng <famz@redhat.com>
Mon, 16 Dec 2013 06:45:33 +0000 (14:45 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 20 Dec 2013 15:26:16 +0000 (16:26 +0100)
commit18da7f94cdce130f2a71387de4980ffa817181a1
tree1c5f4d47df7652161136b9e669b0828339b14725
parent4de43470f2f35762b4b3e6a59b4aed55e239024a
commit: Remove unused check

We support top == active for commit now, remove the check and add an
assertion here.

Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/commit.c