Commit 5fc7e655 authored by Linus Torvalds's avatar Linus Torvalds

Fix bogus 'inline' in drivers/char/ip2/i2lib.c

Not only was the function way too big to be inlined in the first place,
it was used before it was even defined.
Noted-by: default avatarFaik Uygur <faik@pardus.org.tr>
Cc: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent e695e10b
...@@ -80,7 +80,7 @@ static int i2RetryFlushOutput(i2ChanStrPtr); ...@@ -80,7 +80,7 @@ static int i2RetryFlushOutput(i2ChanStrPtr);
// Not a documented part of the library routines (careful...) but the Diagnostic // Not a documented part of the library routines (careful...) but the Diagnostic
// i2diag.c finds them useful to help the throughput in certain limited // i2diag.c finds them useful to help the throughput in certain limited
// single-threaded operations. // single-threaded operations.
static inline void iiSendPendingMail(i2eBordStrPtr); static void iiSendPendingMail(i2eBordStrPtr);
static void serviceOutgoingFifo(i2eBordStrPtr); static void serviceOutgoingFifo(i2eBordStrPtr);
// Functions defined in ip2.c as part of interrupt handling // Functions defined in ip2.c as part of interrupt handling
...@@ -166,7 +166,7 @@ static void iiSendPendingMail_t(unsigned long data) ...@@ -166,7 +166,7 @@ static void iiSendPendingMail_t(unsigned long data)
// If any outgoing mail bits are set and there is outgoing mailbox is empty, // If any outgoing mail bits are set and there is outgoing mailbox is empty,
// send the mail and clear the bits. // send the mail and clear the bits.
//****************************************************************************** //******************************************************************************
static inline void static void
iiSendPendingMail(i2eBordStrPtr pB) iiSendPendingMail(i2eBordStrPtr pB)
{ {
if (pB->i2eOutMailWaiting && (!pB->i2eWaitingForEmptyFifo) ) if (pB->i2eOutMailWaiting && (!pB->i2eWaitingForEmptyFifo) )
......
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