# \[PATCH\] lxfb: drop dead declarations from header

- From: Andres Salomon \<hidden\>
- Date: 2008-06-20 17:38:45 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2008/06/1114853
- Thread: https://ratatoskr.run/lkml/2008/06/1114853/t.md

```text

We never sent the gamma stuff upstream, and don't really care about it.
However, lx_[gs]_et_gamma prototypes snuck into lxfb.h anyways; there
are no definitions for them.  Drop the dead code.

Signed-off-by: Andres Salomon <redacted>
---
 drivers/video/geode/lxfb.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/video/geode/lxfb.h b/drivers/video/geode/lxfb.h
index 3b9416f..6a51448 100644
--- a/drivers/video/geode/lxfb.h
+++ b/drivers/video/geode/lxfb.h
@@ -51,8 +51,6 @@ static inline unsigned int lx_get_pitch(unsigned int xres, int bpp)
 }
 
 void lx_set_mode(struct fb_info *);
-void lx_get_gamma(struct fb_info *, unsigned int *, int);
-void lx_set_gamma(struct fb_info *, unsigned int *, int);
 unsigned int lx_framebuffer_size(void);
 int lx_blank_display(struct fb_info *, int);
 void lx_set_palette_reg(struct fb_info *, unsigned int, unsigned int,
-- 
1.5.5.3
```
