Changelog
Latest Changes
- Branch:
- develop
- Commit:
csp_rdp: Remove redundant cast by Gaetan Perrot at 2025-07-24 06:48:40
The explicit cast to (csp_packet_t *) in the call to csp_rdp_header_ref() and csp_rdp_check_timeouts() are unnecessary since ‘packet’ is already of type csp_packet_t *. This became redundant after commit 5ee2d36, which changed packet type from rdp_packet_t to csp_packet_t. Removing this redundant cast improves code clarity without changing behavior. Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>