diff options
-rw-r--r-- | drivers/staging/speakup/fakekey.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/staging/speakup/fakekey.c b/drivers/staging/speakup/fakekey.c index bf4ec68ac2eb..1b34a8771641 100644 --- a/drivers/staging/speakup/fakekey.c +++ b/drivers/staging/speakup/fakekey.c | |||
@@ -95,10 +95,5 @@ void speakup_fake_down_arrow(void) | |||
95 | */ | 95 | */ |
96 | bool speakup_fake_key_pressed(void) | 96 | bool speakup_fake_key_pressed(void) |
97 | { | 97 | { |
98 | bool is_pressed; | 98 | return this_cpu_read(reporting_keystroke); |
99 | |||
100 | is_pressed = get_cpu_var(reporting_keystroke); | ||
101 | put_cpu_var(reporting_keystroke); | ||
102 | |||
103 | return is_pressed; | ||
104 | } | 99 | } |