diff mbox

[U-Boot] video: ld9040: remove the unused defined

Message ID 20170530010757.5048-1-jh80.chung@samsung.com
State Not Applicable
Delegated to: Anatolij Gustschin
Headers show

Commit Message

Jaehoon Chung May 30, 2017, 1:07 a.m. UTC
Remove the unused defined.
When code is building, appearred the compiler warning.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
---
 drivers/video/ld9040.c | 16 ----------------
 1 file changed, 16 deletions(-)

Comments

Anatolij Gustschin June 2, 2017, 8:38 a.m. UTC | #1
On Tue, 30 May 2017 10:07:57 +0900
Jaehoon Chung jh80.chung@samsung.com wrote:

> Remove the unused defined.
> When code is building, appearred the compiler warning.
> 
> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
> ---
>  drivers/video/ld9040.c | 16 ----------------
>  1 file changed, 16 deletions(-)

thanks, but a similar patch has already been applied:

  http://patchwork.ozlabs.org/patch/759876

--
Anatolij
diff mbox

Patch

diff --git a/drivers/video/ld9040.c b/drivers/video/ld9040.c
index 23fe783..8a90c25 100644
--- a/drivers/video/ld9040.c
+++ b/drivers/video/ld9040.c
@@ -10,10 +10,6 @@ 
 #include <common.h>
 #include <spi.h>
 
-static const unsigned char SEQ_SWRESET[] = {
-	0x01,
-};
-
 static const unsigned char SEQ_USER_SETTING[] = {
 	0xF0, 0x5A, 0x5A
 };
@@ -22,10 +18,6 @@  static const unsigned char SEQ_ELVSS_ON[] = {
 	0xB1, 0x0D, 0x00, 0x16,
 };
 
-static const unsigned char SEQ_TEMP_SWIRE[] = {
-	0xB2, 0x06, 0x06, 0x06, 0x06,
-};
-
 static const unsigned char SEQ_GTCON[] = {
 	0xF7, 0x09, 0x00, 0x00,
 };
@@ -46,10 +38,6 @@  static const unsigned char SEQ_GAMMA_CTRL[] = {
 	0xFB, 0x02, 0x5A,
 };
 
-static const unsigned char SEQ_APON[] = {
-	0xF3, 0x00, 0x00, 0x00, 0x0A, 0x02,
-};
-
 static const unsigned char SEQ_DISPCTL[] = {
 	0xF2, 0x02, 0x08, 0x08, 0x10, 0x10,
 };
@@ -66,10 +54,6 @@  static const unsigned char SEQ_SLPOUT[] = {
 	0x11,
 };
 
-static const unsigned char SEQ_SLPIN[] = {
-	0x10,
-};
-
 static const unsigned char SEQ_DISPON[] = {
 	0x29,
 };