summaryrefslogtreecommitdiff
path: root/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src
diff options
context:
space:
mode:
authorAlexander <akutsan@luxoft.com>2018-07-20 13:42:08 +0300
committerAlexander <akutsan@luxoft.com>2018-08-20 11:19:39 +0300
commitbc71ed85044358a7eb2f2e72bb52047a9b5e6d37 (patch)
tree61853c3f251f80908eebeb8a389144abdd240b01 /src/components/application_manager/rpc_plugins/rc_rpc_plugin/src
parent87263afd5168650e9fe0980e6a3fb56ebe360d8e (diff)
downloadsdl_core-bc71ed85044358a7eb2f2e72bb52047a9b5e6d37.tar.gz
Remove redundant check of RC extension
Diffstat (limited to 'src/components/application_manager/rpc_plugins/rc_rpc_plugin/src')
-rw-r--r--src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/rc_command_request.cc6
1 files changed, 0 insertions, 6 deletions
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);