diff options
author | Alexander <akutsan@luxoft.com> | 2018-07-20 13:42:08 +0300 |
---|---|---|
committer | Alexander <akutsan@luxoft.com> | 2018-08-20 11:19:39 +0300 |
commit | bc71ed85044358a7eb2f2e72bb52047a9b5e6d37 (patch) | |
tree | 61853c3f251f80908eebeb8a389144abdd240b01 /src/components/application_manager/rpc_plugins/rc_rpc_plugin/src | |
parent | 87263afd5168650e9fe0980e6a3fb56ebe360d8e (diff) | |
download | sdl_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.cc | 6 |
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); |