File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -37,12 +37,6 @@ extern "C" {
3737#define UNREACHABLE_BACKOFF 7
3838#define MAX_VALUE 0x1FFF
3939
40- static inline bool
41- is_unreachable_backoff_counter (_Py_BackoffCounter counter )
42- {
43- return counter .value_and_backoff == UNREACHABLE_BACKOFF ;
44- }
45-
4640static inline _Py_BackoffCounter
4741make_backoff_counter (uint16_t value , uint16_t backoff )
4842{
@@ -64,7 +58,6 @@ forge_backoff_counter(uint16_t counter)
6458static inline _Py_BackoffCounter
6559restart_backoff_counter (_Py_BackoffCounter counter )
6660{
67- assert (!is_unreachable_backoff_counter (counter ));
6861 uint16_t backoff = counter .value_and_backoff & BACKOFF_MASK ;
6962 assert (backoff <= MAX_BACKOFF );
7063 backoff = (backoff == MAX_BACKOFF ) ? backoff : backoff + 1 ;
You can’t perform that action at this time.
0 commit comments