mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-06 22:44:38 +08:00
Minor fix (tabs)
This commit is contained in:
parent
8ef712787a
commit
4e71ec4480
@ -100,7 +100,7 @@ plug_holes(struct mem *mem)
|
|||||||
|
|
||||||
nmem = (struct mem *)&ram[mem->next];
|
nmem = (struct mem *)&ram[mem->next];
|
||||||
if (mem != nmem && nmem->used == 0 && (u8_t *)nmem != (u8_t *)ram_end) {
|
if (mem != nmem && nmem->used == 0 && (u8_t *)nmem != (u8_t *)ram_end) {
|
||||||
/* if mem->next is unused and not end of ram, combine mem and mem->next */
|
/* if mem->next is unused and not end of ram, combine mem and mem->next */
|
||||||
if (lfree == nmem) {
|
if (lfree == nmem) {
|
||||||
lfree = mem;
|
lfree = mem;
|
||||||
}
|
}
|
||||||
@ -111,7 +111,7 @@ plug_holes(struct mem *mem)
|
|||||||
/* plug hole backward */
|
/* plug hole backward */
|
||||||
pmem = (struct mem *)&ram[mem->prev];
|
pmem = (struct mem *)&ram[mem->prev];
|
||||||
if (pmem != mem && pmem->used == 0) {
|
if (pmem != mem && pmem->used == 0) {
|
||||||
/* if mem->prev is unused, combine mem and mem->prev */
|
/* if mem->prev is unused, combine mem and mem->prev */
|
||||||
if (lfree == mem) {
|
if (lfree == mem) {
|
||||||
lfree = pmem;
|
lfree = pmem;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user