ODROID: Remove le32_to_cpu_array, cpu_to_le32_array functions.

This commit contains le32_to_cpu_array, cpu_to_le32_array functions.
"crypto: Deduplicate le32_to_cpu_array() and cpu_to_le32_array()"

Change-Id: Ida8d6f0ba3f6a4930e34481dd6ad022fad663ab0
This commit is contained in:
Chris
2023-06-08 08:59:40 +09:00
parent ab3585b3b2
commit 95909d7990

View File

@@ -664,23 +664,6 @@ static inline void *skb_put_data(struct sk_buff *skb, const void *data, unsigned
#endif
#endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 17, 0)
static inline void le32_to_cpu_array(u32 *buf, unsigned int words)
{
while (words--) {
__le32_to_cpus(buf);
buf++;
}
}
static inline void cpu_to_le32_array(u32 *buf, unsigned int words)
{
while (words--) {
__cpu_to_le32s(buf);
buf++;
}
}
#endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 0)
#include <crypto/algapi.h>
static inline void crypto_xor_cpy(u8 *dst, const u8 *src1, const u8 *src2,