[PATCH] kill _INLINE_
This patch removes all occurances of _INLINE_ in the kernel. With the exception of tty_flip.h, I've simply removed the inline's since gcc should know best which functions to be inlined. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
@@ -46,11 +46,6 @@
|
||||
#define KEYBOARD_INTR 3 /* must match with simulator! */
|
||||
|
||||
#define NR_PORTS 1 /* only one port for now */
|
||||
#define SERIAL_INLINE 1
|
||||
|
||||
#ifdef SERIAL_INLINE
|
||||
#define _INLINE_ inline
|
||||
#endif
|
||||
|
||||
#define IRQ_T(info) ((info->flags & ASYNC_SHARE_IRQ) ? SA_SHIRQ : SA_INTERRUPT)
|
||||
|
||||
@@ -237,7 +232,7 @@ static void rs_put_char(struct tty_struct *tty, unsigned char ch)
|
||||
local_irq_restore(flags);
|
||||
}
|
||||
|
||||
static _INLINE_ void transmit_chars(struct async_struct *info, int *intr_done)
|
||||
static void transmit_chars(struct async_struct *info, int *intr_done)
|
||||
{
|
||||
int count;
|
||||
unsigned long flags;
|
||||
|
Reference in New Issue
Block a user