@@ -97,29 +97,6 @@ static inline void *rballoc(uint32_t flags, size_t bytes)
9797 return rballoc_align (flags , bytes , PLATFORM_DCACHE_ALIGN );
9898}
9999
100- /**
101- * Changes size of the memory block allocated.
102- * @param ptr Address of the block to resize.
103- * @param flags Flags, see SOF_MEM_FLAG_...
104- * @param bytes New size in bytes.
105- * @param old_bytes Old size in bytes.
106- * @param alignment Alignment in bytes.
107- * @return Pointer to the resized memory of NULL if failed.
108- */
109- void * rbrealloc_align (void * ptr , uint32_t flags , size_t bytes ,
110- size_t old_bytes , uint32_t alignment );
111-
112- /**
113- * Similar to rballoc_align(), returns resized buffer aligned to
114- * PLATFORM_DCACHE_ALIGN.
115- */
116- static inline void * rbrealloc (void * ptr , uint32_t flags ,
117- size_t bytes , size_t old_bytes )
118- {
119- return rbrealloc_align (ptr , flags , bytes , old_bytes ,
120- PLATFORM_DCACHE_ALIGN );
121- }
122-
123100/**
124101 * Frees the memory block.
125102 * @param ptr Pointer to the memory block.
0 commit comments