]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
V4L/DVB (12365): ir-kbd-i2c: Remove superfulous inlines
authorJean Delvare <khali@linux-fr.org>
Tue, 28 Jul 2009 14:41:35 +0000 (11:41 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 12 Sep 2009 15:18:24 +0000 (12:18 -0300)
Functions which are referenced by their address can't be inlined by
definition.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/ir-kbd-i2c.c

index 86f2fefe1edf28a9db5b93b9c13af6696dbf8e5d..6e4a2341edf89623669cef8ecb061f535bc09f99 100644 (file)
@@ -122,12 +122,12 @@ static int get_key_haup_common(struct IR_i2c *ir, u32 *ir_key, u32 *ir_raw,
        return 1;
 }
 
-static inline int get_key_haup(struct IR_i2c *ir, u32 *ir_key, u32 *ir_raw)
+static int get_key_haup(struct IR_i2c *ir, u32 *ir_key, u32 *ir_raw)
 {
        return get_key_haup_common (ir, ir_key, ir_raw, 3, 0);
 }
 
-static inline int get_key_haup_xvr(struct IR_i2c *ir, u32 *ir_key, u32 *ir_raw)
+static int get_key_haup_xvr(struct IR_i2c *ir, u32 *ir_key, u32 *ir_raw)
 {
        return get_key_haup_common (ir, ir_key, ir_raw, 6, 3);
 }