Skip to content

Commit

Permalink
bsd-user: Remove last_brk
Browse files Browse the repository at this point in the history
This variable is unused.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
  • Loading branch information
rth7680 committed Aug 6, 2023
1 parent 3252f22 commit f0ef272
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions bsd-user/mmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,6 @@ static int mmap_frag(abi_ulong real_start,
#endif
abi_ulong mmap_next_start = TASK_UNMAPPED_BASE;

unsigned long last_brk;

/*
* Subroutine of mmap_find_vma, used when we have pre-allocated a chunk of guest
* address space.
Expand Down
1 change: 0 additions & 1 deletion bsd-user/qemu.h
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,6 @@ abi_long target_mremap(abi_ulong old_addr, abi_ulong old_size,
abi_ulong new_size, unsigned long flags,
abi_ulong new_addr);
int target_msync(abi_ulong start, abi_ulong len, int flags);
extern unsigned long last_brk;
extern abi_ulong mmap_next_start;
abi_ulong mmap_find_vma(abi_ulong start, abi_ulong size);
void TSA_NO_TSA mmap_fork_start(void);
Expand Down

0 comments on commit f0ef272

Please sign in to comment.