mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Cleanup unused function
Change-Id: I10aac94906607a74f05a687cb3d0029cb6faea6e
This commit is contained in:
parent
6228c8da18
commit
47d6d268c0
1 changed files with 0 additions and 7 deletions
|
@ -552,7 +552,6 @@ BUFFER SPACE MANAGEMENT
|
|||
=======================
|
||||
|
||||
update_data_counters: Updates the values in data_counters
|
||||
buffer_is_low : Returns true if the amount of useful data in the buffer is low
|
||||
buffer_handle : Buffer data for a handle
|
||||
rebuffer_handle : Seek to a nonbuffered part of a handle by rebuffering the data
|
||||
shrink_handle : Free buffer space by moving a handle
|
||||
|
@ -600,12 +599,6 @@ static int update_data_counters(struct data_counters *dc)
|
|||
return num;
|
||||
}
|
||||
|
||||
static inline bool buffer_is_low(void)
|
||||
{
|
||||
update_data_counters(NULL);
|
||||
return data_counters.useful < BUF_WATERMARK / 2;
|
||||
}
|
||||
|
||||
/* Q_BUFFER_HANDLE event and buffer data for the given handle.
|
||||
Return whether or not the buffering should continue explicitly. */
|
||||
static bool buffer_handle(int handle_id, size_t to_buffer)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue