From f80c1b0e9a26408b743bfa56322a384e84dee5f3 Mon Sep 17 00:00:00 2001 From: Francisco Acosta Date: Fri, 16 Mar 2018 15:55:56 +0100 Subject: [PATCH] sys/random/tinymt32: remove unused static function --- sys/random/tinymt32.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/sys/random/tinymt32.c b/sys/random/tinymt32.c index 9537d7cd7d..de1c20cf7e 100644 --- a/sys/random/tinymt32.c +++ b/sys/random/tinymt32.c @@ -24,14 +24,6 @@ #include "tinymt32/tinymt32.h" -#define _ALIGNMENT_MASK (sizeof(uint32_t) - 1) - -/* fits size to byte alignment */ -static inline uint8_t *_align(uint8_t *buf) -{ - return (uint8_t *)(((size_t) buf + _ALIGNMENT_MASK) & ~(_ALIGNMENT_MASK)); -} - static tinymt32_t _random; void random_init(uint32_t seed)