From 0503e61178775219348b030061596e8d92d0094d Mon Sep 17 00:00:00 2001 From: Teufelchen1 Date: Tue, 2 Apr 2024 11:22:04 +0200 Subject: [PATCH] sys/checksum: Remove deprecated crc16_ccitt functions --- sys/include/checksum/crc16_ccitt.h | 34 ------------------------------ 1 file changed, 34 deletions(-) diff --git a/sys/include/checksum/crc16_ccitt.h b/sys/include/checksum/crc16_ccitt.h index db7883f3c321..9d90d48fff98 100644 --- a/sys/include/checksum/crc16_ccitt.h +++ b/sys/include/checksum/crc16_ccitt.h @@ -182,40 +182,6 @@ static inline uint16_t crc16_ccitt_aug_update(uint16_t crc, const unsigned char */ uint16_t crc16_ccitt_aug_calc(const unsigned char *buf, size_t len); -/** - * @brief Update CRC16-CCITT - * @deprecated Use @ref crc16_ccitt_aug_update instead. - * Will be removed after 2023.01 release. - * - * @param[in] crc A start value for the CRC calculation, usually the - * return value of a previous call to - * crc16_ccitt_calc() or crc16_ccitt_update() - * @param[in] buf Start of the memory area to checksum - * @param[in] len Number of bytes to checksum - * - * @return Checksum of the specified memory area based on the - * given start value - */ -static inline uint16_t crc16_ccitt_update(uint16_t crc, const unsigned char *buf, size_t len) -{ - return crc16_ccitt_false_update(crc, buf, len); -} - -/** - * @brief Calculate CRC16-CCITT - * @deprecated Use @ref crc16_ccitt_aug_calc instead. - * Will be removed after 2023.01 release. - * - * @param[in] buf Start of the memory area to checksum - * @param[in] len Number of bytes to checksum - * - * @return Checksum of the specified memory area - */ -static inline uint16_t crc16_ccitt_calc(const unsigned char *buf, size_t len) -{ - return crc16_ccitt_aug_calc(buf, len); -} - #ifdef __cplusplus } #endif