diff options
author | Bhagyashri Dighole <digholebhagyashri@gmail.com> | 2019-03-06 16:42:22 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-03-18 07:05:20 +0100 |
commit | 730551f754a7f58a97408a889e9c19aa6d2767a6 (patch) | |
tree | 545f40d862b29f81c7b8f1fa6932175da798260a | |
parent | 219347ebf057b21738334954d5840e93970f6690 (diff) |
staging: fbtft: Remove unused #defines.
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>
-rw-r--r-- | drivers/staging/fbtft/fb_watterott.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/fbtft/fb_watterott.c b/drivers/staging/fbtft/fb_watterott.c index 0a5206d28da4..502d67f3a743 100644 --- a/drivers/staging/fbtft/fb_watterott.c +++ b/drivers/staging/fbtft/fb_watterott.c @@ -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) { |