You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/02/28 17:08:30 UTC

[incubator-nuttx] 07/07: input/buttons: Remove the unused bu_enabled from btn_upperhalf_s

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 36909f5f6c80248bedacdaeba7439247a2d4827a
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Sun Feb 27 15:55:01 2022 +0800

    input/buttons: Remove the unused bu_enabled from btn_upperhalf_s
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 drivers/input/button_upper.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/input/button_upper.c b/drivers/input/button_upper.c
index b2d9446..ecb669a 100644
--- a/drivers/input/button_upper.c
+++ b/drivers/input/button_upper.c
@@ -59,7 +59,6 @@ struct btn_upperhalf_s
 
   FAR const struct btn_lowerhalf_s *bu_lower;
 
-  btn_buttonset_t bu_enabled; /* Set of currently enabled button interrupts */
   btn_buttonset_t bu_sample;  /* Last sampled button states */
   sem_t bu_exclsem;           /* Supports exclusive access to the device */