summaryrefslogtreecommitdiff
path: root/board/lwmon
diff options
context:
space:
mode:
Diffstat (limited to 'board/lwmon')
-rw-r--r--board/lwmon/lwmon.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/board/lwmon/lwmon.c b/board/lwmon/lwmon.c
index 04721a38403..cf824082cfe 100644
--- a/board/lwmon/lwmon.c
+++ b/board/lwmon/lwmon.c
@@ -1087,7 +1087,6 @@ int post_hotkeys_pressed(gd_t *gd)
i2c_write (kbd_addr, 0, 0, &val, 1);
i2c_read (kbd_addr, 0, 0, kbd_data, KEYBD_DATALEN);
- return (gd->post_hotkeys_latch =
- (compare_magic(kbd_data, CONFIG_POST_KEY_MAGIC) == 0));
+ return (compare_magic(kbd_data, CONFIG_POST_KEY_MAGIC) == 0);
}
#endif