version-handler: Remove superfluous canHandleBlob
This is a guarantee of the upper layer interface, we don't need to check
for it again.
Change-Id: Ifdc52e0d64543bd45ced5dabb29639c35e0c7da9
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/bmc/version-handler/version_handler.cpp b/bmc/version-handler/version_handler.cpp
index 75ba940..32b29da 100644
--- a/bmc/version-handler/version_handler.cpp
+++ b/bmc/version-handler/version_handler.cpp
@@ -70,12 +70,6 @@
cleanup(session);
return false;
}
- if (!canHandleBlob(path))
- {
- fprintf(stderr, "open %s fail: unrecognized blob\n", path.c_str());
- cleanup(session);
- return false;
- }
try
{