diff --git a/storage/innobase/include/os0file.ic b/storage/innobase/include/os0file.ic
index 6cb67af94ca3457a99b5681d83f6b7ae85880137..a7e4f2695da0f6cd3b84c7a8d19d1100da7276f7 100644
--- a/storage/innobase/include/os0file.ic
+++ b/storage/innobase/include/os0file.ic
@@ -372,9 +372,9 @@ pfs_os_file_read_no_error_handling_int_fd_func(
 			locker, n,
 			__FILE__, __LINE__);
 	}
-	ulint fulfilled;
+
 	bool success = DB_SUCCESS == os_file_read_no_error_handling_func(
-		type, OS_FILE_FROM_FD(file), buf, offset, n, &fulfilled);
+		type, OS_FILE_FROM_FD(file), buf, offset, n, NULL);
 
 	if (locker != NULL) {
 		PSI_FILE_CALL(end_file_wait)(locker, n);