From bc71ed85044358a7eb2f2e72bb52047a9b5e6d37 Mon Sep 17 00:00:00 2001 From: Alexander Date: Fri, 20 Jul 2018 13:42:08 +0300 Subject: Remove redundant check of RC extension --- .../rpc_plugins/rc_rpc_plugin/src/commands/rc_command_request.cc | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/components/application_manager/rpc_plugins/rc_rpc_plugin/src') diff --git a/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/rc_command_request.cc b/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/rc_command_request.cc index 9e3308b825..40249387a7 100644 --- a/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/rc_command_request.cc +++ b/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/rc_command_request.cc @@ -79,12 +79,6 @@ bool RCCommandRequest::CheckDriverConsent() { LOG4CXX_AUTO_TRACE(logger_); app_mngr::ApplicationSharedPtr app = application_manager_.application(CommandRequestImpl::connection_key()); - RCAppExtensionPtr extension = - resource_allocation_manager_.GetApplicationExtention(app); - if (!extension) { - LOG4CXX_ERROR(logger_, "NULL pointer."); - return false; - } const std::string module_type = ModuleType(); rc_rpc_plugin::TypeAccess access = CheckModule(module_type, app); -- cgit v1.2.1