summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/blockinput.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/blockinput.h b/src/blockinput.h
index a3b50d2a0f2..74ef7603f40 100644
--- a/src/blockinput.h
+++ b/src/blockinput.h
@@ -111,10 +111,8 @@ extern int pending_atimers;
#define UNBLOCK_INPUT_TO(LEVEL) \
do \
{ \
- int oldlevel = interrupt_input_blocked; \
interrupt_input_blocked = (LEVEL) + 1; \
- if (interrupt_input_blocked != oldlevel + 1) \
- UNBLOCK_INPUT; \
+ UNBLOCK_INPUT; \
} \
while (0)