| 89 | } |
| 90 | |
| 91 | EXPORT_C_FUNC XResult HwCommandDestroy(HwCommandHandle hw_cmd) |
| 92 | { |
| 93 | std::shared_ptr<HwCommand> hw_cmd_shptr = HwCommandManager::Del(hw_cmd); |
| 94 | if (hw_cmd_shptr == nullptr) { |
| 95 | XWARN("HwCommand with handle 0x" FMT_64X " does not exist or not registered", hw_cmd); |
| 96 | return kXSchedErrorNotFound; |
| 97 | } |
| 98 | return kXSchedSuccess; |
| 99 | } |
nothing calls this directly
no outgoing calls
no test coverage detected