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/08/14 16:32:52 UTC

[incubator-nuttx] 05/05: apa102: Remove unused variable

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 9b67c759cb0dcddb751f828278e7c045a2dbc114
Author: Alan Carvalho de Assis <ac...@gmail.com>
AuthorDate: Sun Aug 14 10:30:33 2022 -0300

    apa102: Remove unused variable
---
 drivers/lcd/apa102.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/lcd/apa102.c b/drivers/lcd/apa102.c
index 5a612872a1..d803fa7c21 100644
--- a/drivers/lcd/apa102.c
+++ b/drivers/lcd/apa102.c
@@ -697,8 +697,6 @@ static int apa102_setcontrast(FAR struct lcd_dev_s *dev,
 
 static inline void up_clear(FAR struct apa102_dev_s  *priv)
 {
-  int i;
-
   /* Clear the framebuffer */
 
   memset(priv->fb, APA102_BLACK, 4 * APA102_FBSIZE);