Commit 1ce464f2 authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

[PATCH] media/video/ir-kbd-i2c.c: remove an unused function

The patch below removes an unused function from
drivers/media/video/ir-kbd-i2c.c
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 3146452f
...@@ -155,16 +155,6 @@ module_param(debug, int, 0644); /* debug level (0,1,2) */ ...@@ -155,16 +155,6 @@ module_param(debug, int, 0644); /* debug level (0,1,2) */
/* ----------------------------------------------------------------------- */ /* ----------------------------------------------------------------------- */
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) static int get_key_haup(struct IR *ir, u32 *ir_key, u32 *ir_raw)
{ {
unsigned char buf[3]; unsigned char buf[3];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment