1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-29 21:55:36 +03:00

mempool: rename local variable to match current coding style

This commit is contained in:
Lennart Poettering 2023-02-14 13:38:18 +01:00
parent b6ff400ffb
commit 993a9314c4

View File

@ -19,15 +19,16 @@ void* mempool_alloc_tile(struct mempool *mp) {
/* When a tile is released we add it to the list and simply
* place the next pointer at its offset 0. */
assert(mp);
assert(mp->tile_size >= sizeof(void*));
assert(mp->at_least > 0);
if (mp->freelist) {
void *r;
void *t;
r = mp->freelist;
mp->freelist = * (void**) mp->freelist;
return r;
t = mp->freelist;
mp->freelist = *(void**) mp->freelist;
return t;
}
if (_unlikely_(!mp->first_pool) ||