Remove an unused function and global variable
When the dehugify functionality was retired in an previous commit, a dehugify-related function and global variable in a test was accidentally left in-place causing builds that add -Werror to CFLAGS to fail.
This commit is contained in:
committed by
Guangli Dai
parent
f9fae9f1f8
commit
acd85e5359
@@ -113,12 +113,6 @@ defer_test_hugify(void *ptr, size_t size, bool sync) {
|
||||
return false;
|
||||
}
|
||||
|
||||
static size_t ndefer_dehugify_calls = 0;
|
||||
static void
|
||||
defer_test_dehugify(void *ptr, size_t size) {
|
||||
++ndefer_dehugify_calls;
|
||||
}
|
||||
|
||||
static nstime_t defer_curtime;
|
||||
static void
|
||||
defer_test_curtime(nstime_t *r_time, bool first_reading) {
|
||||
|
||||
Reference in New Issue
Block a user