Skip to content

Commit

Permalink
mgmt: mcumgr: Remove deprecated function smp_add_cmd_ret
Browse files Browse the repository at this point in the history
Removes a function that was deprecated in Zephyr 3.4

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
  • Loading branch information
nordicjm authored and mmahadevan108 committed Nov 13, 2024
1 parent 55e7cc6 commit 996b8a6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions include/zephyr/mgmt/mcumgr/smp/smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,6 @@ int smp_process_request_packet(struct smp_streamer *streamer, void *req);
*/
bool smp_add_cmd_err(zcbor_state_t *zse, uint16_t group, uint16_t ret);

/** @deprecated Deprecated after Zephyr 3.4, use smp_add_cmd_err() instead */
__deprecated inline bool smp_add_cmd_ret(zcbor_state_t *zse, uint16_t group, uint16_t ret)
{
return smp_add_cmd_err(zse, group, ret);
}

#if defined(CONFIG_MCUMGR_SMP_SUPPORT_ORIGINAL_PROTOCOL)
/** @typedef smp_translate_error_fn
* @brief Translates a SMP version 2 error response to a legacy SMP version 1 error code.
Expand Down

0 comments on commit 996b8a6

Please sign in to comment.