Merge "dma-mapping-fast: Clean up common code"

This commit is contained in:
qctecmdr 2020-01-03 00:44:18 -08:00 • committed by Gerrit - the friendly Code Review server
commit ba56951f33
5 changed files with 22 additions and 89 deletions

View file

@ -186,7 +186,8 @@ static int __init dma_atomic_pool_init(void)
}
postcore_initcall(dma_atomic_pool_init);
bool __dma_in_atomic_pool(struct gen_pool *pool, void *start, size_t size)
static bool __dma_in_atomic_pool(struct gen_pool *pool, void *start,
size_t size)
{
if (unlikely(!pool))
return false;