LogService: Remove setUpRedfishRoute in crashdump

Crash dump files aren't Redfish resources, so the handler should not
call `setUpRedfishRoute`.

Tested: Can still get crash dump, but OData-Version header is not set.
Change-Id: Ib03ea44f840d96f0465057cc66a424f70f197993
Signed-off-by: Shounak Mitra <shounak@google.com>
diff --git a/redfish-core/lib/log_services.hpp b/redfish-core/lib/log_services.hpp
index 38d9388..120a751 100644
--- a/redfish-core/lib/log_services.hpp
+++ b/redfish-core/lib/log_services.hpp
@@ -2916,10 +2916,8 @@
             [&app](const crow::Request& req,
                    const std::shared_ptr<bmcweb::AsyncResp>& asyncResp,
                    const std::string& logID, const std::string& fileName) {
-        if (!redfish::setUpRedfishRoute(app, req, asyncResp))
-        {
-            return;
-        }
+        // Do not call getRedfishRoute here since the crashdump file is not a
+        // Redfish resource.
         auto getStoredLogCallback =
             [asyncResp, logID, fileName, url(boost::urls::url(req.urlView))](
                 const boost::system::error_code ec,