staging: fbtft: Remove unused #defines.
authorBhagyashri Dighole <digholebhagyashri@gmail.com>
Wed, 6 Mar 2019 11:12:22 +0000 (16:42 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Mar 2019 06:05:20 +0000 (07:05 +0100)
Remove unused #defines, which is detected while resolving `CHECK:
Avoid CamelCase` issue.

Signed-off-by: Bhagyashri Dighole <digholebhagyashri@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fb_watterott.c

index 0a5206d28da40c494a4107b05e626a2de1fa2aa6..502d67f3a743258125bd4f911c5b65a7802c14b1 100644 (file)
@@ -90,15 +90,9 @@ static int write_vmem(struct fbtft_par *par, size_t offset, size_t len)
        return 0;
 }
 
-#define RGB565toRGB323(c) ((((c) & 0xE000) >> 8) |\
-                          (((c) & 000600) >> 6) |\
-                          (((c) & 0x001C) >> 2))
 #define RGB565toRGB332(c) ((((c) & 0xE000) >> 8) |\
                           (((c) & 000700) >> 6) |\
                           (((c) & 0x0018) >> 3))
-#define RGB565toRGB233(c) ((((c) & 0xC000) >> 8) |\
-                          (((c) & 000700) >> 5) |\
-                          (((c) & 0x001C) >> 2))
 
 static int write_vmem_8bit(struct fbtft_par *par, size_t offset, size_t len)
 {