From: Adrian Bunk <bunk@stusta.de> The patch below removes an unused function from drivers/media/video/ir-kbd-i2c.c Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> --- /dev/null | 0 25-akpm/drivers/media/video/ir-kbd-i2c.c | 10 ---------- 2 files changed, 10 deletions(-) diff -puN drivers/media/video/ir-kbd-i2c.c~media-video-ir-kbd-i2cc-remove-an-unused-function-fwd drivers/media/video/ir-kbd-i2c.c --- 25/drivers/media/video/ir-kbd-i2c.c~media-video-ir-kbd-i2cc-remove-an-unused-function-fwd Thu Dec 9 13:36:44 2004 +++ 25-akpm/drivers/media/video/ir-kbd-i2c.c Thu Dec 9 13:36:44 2004 @@ -155,16 +155,6 @@ module_param(debug, int, 0644); /* de /* ----------------------------------------------------------------------- */ -static inline int reverse(int data, int bits) -{ - int i,c; - - for (c=0,i=0; i<bits; i++) { - c |= (((data & (1<<i)) ? 1:0)) << (bits-1-i); - } - return c; -} - static int get_key_haup(struct IR *ir, u32 *ir_key, u32 *ir_raw) { unsigned char buf[3]; diff -L drivers/media/video/ir-kbd-i2c.c.old -puN /dev/null /dev/null _