mirror of
https://github.com/systemd/systemd.git
synced 2025-01-07 21:18:41 +03:00
mempool: rename local variable to match current coding style
This commit is contained in:
parent
b6ff400ffb
commit
993a9314c4
@ -19,15 +19,16 @@ void* mempool_alloc_tile(struct mempool *mp) {
|
|||||||
/* When a tile is released we add it to the list and simply
|
/* When a tile is released we add it to the list and simply
|
||||||
* place the next pointer at its offset 0. */
|
* place the next pointer at its offset 0. */
|
||||||
|
|
||||||
|
assert(mp);
|
||||||
assert(mp->tile_size >= sizeof(void*));
|
assert(mp->tile_size >= sizeof(void*));
|
||||||
assert(mp->at_least > 0);
|
assert(mp->at_least > 0);
|
||||||
|
|
||||||
if (mp->freelist) {
|
if (mp->freelist) {
|
||||||
void *r;
|
void *t;
|
||||||
|
|
||||||
r = mp->freelist;
|
t = mp->freelist;
|
||||||
mp->freelist = * (void**) mp->freelist;
|
mp->freelist = *(void**) mp->freelist;
|
||||||
return r;
|
return t;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_unlikely_(!mp->first_pool) ||
|
if (_unlikely_(!mp->first_pool) ||
|
||||||
|
Loading…
Reference in New Issue
Block a user