Skip to content

Commit 996b8a6

Browse files
nordicjmmmahadevan108
authored andcommitted
mgmt: mcumgr: Remove deprecated function smp_add_cmd_ret
Removes a function that was deprecated in Zephyr 3.4 Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
1 parent 55e7cc6 commit 996b8a6

File tree

1 file changed

+0
-6
lines changed
  • include/zephyr/mgmt/mcumgr/smp

1 file changed

+0
-6
lines changed

include/zephyr/mgmt/mcumgr/smp/smp.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,12 +121,6 @@ int smp_process_request_packet(struct smp_streamer *streamer, void *req);
121121
*/
122122
bool smp_add_cmd_err(zcbor_state_t *zse, uint16_t group, uint16_t ret);
123123

124-
/** @deprecated Deprecated after Zephyr 3.4, use smp_add_cmd_err() instead */
125-
__deprecated inline bool smp_add_cmd_ret(zcbor_state_t *zse, uint16_t group, uint16_t ret)
126-
{
127-
return smp_add_cmd_err(zse, group, ret);
128-
}
129-
130124
#if defined(CONFIG_MCUMGR_SMP_SUPPORT_ORIGINAL_PROTOCOL)
131125
/** @typedef smp_translate_error_fn
132126
* @brief Translates a SMP version 2 error response to a legacy SMP version 1 error code.

0 commit comments

Comments
 (0)